On Wed, Feb 20, 2008 at 3:59 PM, Nishant Joshi <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> MessageProcessor is working fine for me... but i want to know that how we
> can handle the response tag for it, as I am removing it from method
> "insertPayloadIntoJMSMessage"...
> so here in response tag of method "extractPayloadFromJMSMessage"...
>    String xml = "<response xmlns=\"
> http://this.should.be.pulled.from.the.composite.somehow\<http://this.should.be.pulled.from.the.composite.somehow/>">"
> + ((TextMessage)msg).getText() + "</response>";
>
> which is still working fine for me... so is there any rule there to build
> with tag in reponse... or how can we get(or generate) the tag from tuscany
> without using any hardcode tag?
>
> Here string xmlns=\"
> http://this.should.be.pulled.from.the.composite.somehow\<http://this.should.be.pulled.from.the.composite.somehow/>"
> is arbitrary put to see the result and its gone fine... but this is not
> expected from my side. it should not work as in request it is <arg0 xmlns="
> http://jms.sample.com/";>....
>
> Hope this make sense...
>
> --
> Thanks
> Nishant Joshi
>


Hi Nishant, I'm still working on a good design of the jms binding to support
this type of thing but one question in the meantime -

>From what you have above it looks like the actual payload context of the JMS
message you send and receive is a simple String instead of the the jms
binding is always using XML as it does now. This has come up on another
thread [1] so if we had some mechanism to control whether or not the binding
uses xml would that avoid this issue you're asking about here?

   ...ant

[1] http://apache.markmail.org/message/l6ae2xke5lrs4u7c

Reply via email to