Sanjay,
If you would have been using JBI endpoints, this message is available in
an exchange property called JbiConstants.SENDER_ENDPOINT
("org.apache.servicemix.senderEndpoint"). However, I suppose you have
put the message in the queue yourself (using a JMS endpoint or a Camel
route perhaps?). If you want to be able to filter the message later on
the original sender, you will have to make sure that the original sender
is available in the JMS message headers as well. Is this information
available? Which endpoint type and/or technology are you using to put
the message on the queue in the first place?
Regards,
Gert
Sanjay Jain wrote:
Hi Guys,
Here is my scenario,
I am sending the message to the queue and filtering it with xpath query. I
want to know who is sending the message to the queue?
Is it possible to get the indetification of the sender(uri) of the message
in servicemix? Is there any way to get this in servicemix?
Looking forward to see your expert comments.
Thanks,
Sanjay