You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kumar k <ku...@yahoo.com> on 2007/07/16 13:28:22 UTC

configuring a class for processing JMS messages

I want to write a class which can receive messages from my jms component i.e. messages put on this jms queue should be delivered to my class which will do processing for messages. My question is how do I tell xbean configuration that which class/method should receive the message for processing?Is it decided by service and end point?Has it to be a web service?If I want it to be a POJO what I need to specify for service and end point? Or something else is needed altogether? 
   
    <jms:endpoint service="test:MyConsumerService"
                  endpoint="jms"
                  targetService="test:MyConsumerService"
                  targetEndpoint="myConsumer"
                  role="consumer" 
                  destinationStyle="queue"
                  jmsProviderDestinationName="queue/A"
                  jndiConnectionFactoryName="ConnectionFactory"
                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
                  defaultOperation="test:Echo" />
   

 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
       
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.