Have you tried retrieving the target endpoint ?
   me.getEndpoint().getServiceName()

On Tue, Jul 8, 2008 at 3:25 PM, pratibhaG <[EMAIL PROTECTED]> wrote:
>
> I did this:
> JbiExchange jbiexchange = (JbiExchange) exchange;
> MessageExchange me = jbiexchange.getMessageExchange();
> System.out.println("*************"+me.getProperty("org.apache.servicemix.senderEndpoint")+"****************");
>
> And I get the senderendPoint as
> {http://servicemix.in2m.com/samples/http}jmsConsumer1:consumer1
>
> But i want to get this:
> http://servicemix.in2m.com/samples/http/MyProviderService
> that is from where I am getting the response. In my process method I am
> gettting the out message but I am not able to understand which service has
> sent it.
> How can i get it.
>
> Pratibha
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-get-original-sevice-name-in-dead-letter-channel--tp18231948p18339179.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to