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" />
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on,
when.