...
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 bus to the PxeBpelEngine by executing its onMessage method. destinationService property defines the destination of the message.
#PxeBpelEngine sends a response again through sericemix bus.
#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.
Logginginformation is written to the console as files are transmitted. Typical output looks like the following:
...