Dave, that is all basically done in the configuration of the end-points. Right now, in
the trunk of SVN, you can configure a JMS, FIle or SQL table end-points. Those end-points
are configurable by way of the paramter file, a sample of which you can see in the File
Test shipped with Alpha1. Those end-points, have an Action class that will be invoked. I
think right now, you should start to look at the Action/Processor classes as the starting
point for your tests. Please use the Trunk though, what is in the Alpha has been
re-factored and changed a lot since then. Here is a sample Parameter config which shows
what I am talking about that will be included as part of the new docs for the next Beta
release:
| <ListenOnJMS
| parmsReloadSecs="60"
| >
| <CreditRequest
|
actionClass="org.jboss.soa.esb.samples.loanbroker.actions.ProcessCreditRequest"
| maxThreads="1"
| listenQueue="queue/A"
| listenMsgSelector="sample_loanbroker_servicecode='creditRequest'"
| >
|
| <NotificationList type="OK">
| <target class="NotifyEmail"
| from="ILoveLucy(a)jbos.com"
| sendTo="bill(a)microsoft.com"
| subject="Message processed: -LoanBroker TrailBlazer-"
| message="Message from JBossESB: Processor -JMS Listener - LoanBroker
TrailBlazer- completed successfully"
| />
| </NotificationList>
|
| <NotificationList type="err">
| <target class="NotifyEmail"
| from="ILoveLucy(a)jboss.com"
| sendTo="bill(a)microsoft.com"
| subject="Message processed: -LoanBroker TrailBlazer-"
| message="Message from JBossESB: Processor -JMS Listener - LoanBroker
TrailBlazer- had ERRORS"
| />
| </NotificationList>
| </CreditRequest>
|
| <CreditResponse
|
actionClass="org.jboss.soa.esb.samples.loanbroker.actions.ProcessCreditResponse"
| maxThreads="1"
| listenQueue="queue/A"
|
listenMsgSelector="sample_loanbroker_servicecode='creditResponse'"
| >
|
| <NotificationList type="OK">
| <target class="NotifyEmail"
| from="ILoveLucy(a)jbos.com"
| sendTo="bill(a)microsoft.com"
| subject="Message processed: -LoanBroker TrailBlazer-"
| message="Message from JBossESB: Processor -JMS Listener - LoanBroker
TrailBlazer- completed successfully"
| />
| </NotificationList>
|
| <NotificationList type="err">
| <target class="NotifyEmail"
| from="ILoveLucy(a)jboss.com"
| sendTo="bill(a)microsoft.com"
| subject="Message processed: -LoanBroker TrailBlazer-"
| message="Message from JBossESB: Processor -JMS Listener - LoanBroker
TrailBlazer- had ERRORS"
| />
| </NotificationList>
| </CreditResponse>
| </ListenOnJMS>
|
Hope this points you in the right direction.
Daniel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960192#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...