THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
The logical flow of the program is:
- The JMSClient through ActiveMQConnectionFactory connects to topic "demo.org.servicemix.source" and sends a text message from message.soap file.
- myComponent being a subscriber of topic "demo.org.servicemix.source", receives the message.
- myComponent implementation class JmsServiceComponent sends the message over the servicemix ServiceMix bus to the PxeBpelEngine by executing its onMessage method. The destinationService property defines the destination of the message (destinationService is found in the
servicemix.xml
file. - PxeBpelEngine sends a response again through sericemix SericeMix bus, the NMR.
- myComponent uses the jmsTemplate bean to publish the message.
- jmsTemplate uses the jmsFactory bean to get a connection to the port associated with the JMS topic called "demo.org.servicemix.source." The message is published on the "demo.org.servicemix.source" topic.
- JMSClient being a subscriber of topic "demo.org.servicemix.source", receives the message.
...