Hi ant,

thank you for your quick repsonse.

> I'd really like to come up with a better way to make this easier, how
about
> we add a new Tuscany specific attribute to the JMS binding SCDL to control
> this, say format="XML|Object", with the default being format="XML" so the
> current functionality remains if you don't define this. So that would look
> like:

I think having such an option would ease the usage of this Tuscany JMS
Binding feature.

Thinking of alternatives: I'm really not an expert in Tuscany's databinding
capabilities but what do you think about configuring it via databinding?
e.g. having of <db:databinding xmlns:db="
http://tuscany.apache.org/xmlns/sca/databinding/1.0"; name="
org.apache.tuscany.sca.databinding.javabeans.SimpleJavaDataBinding" /> would
mean that JMS messages contain serialized Java-Objects?

Regards,
Philipp

-----Ursprüngliche Nachricht-----
> Von: ant elder [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 15. Februar 2008 09:34
> An: tuscany-user@ws.apache.org
> Betreff: Re: JMS Binding: How to set the xml-format flag?
>
> On Fri, Feb 15, 2008 at 8:08 AM, Philipp Konradi <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
> >
> > with the new 1.1 release of SCA Java the implementation of JMS Binding
> > evolved to support XML-based JMS messages as SCA specs defines. What's
> > really great.
> > Now JMS binding supports two kinds of JMS messages XML-based and
> > Java-Object-serialized ones.
> >
> > What I was wondering now is how the according xml-format flag can be
> > set? Can it be done in the composite's JMS Binding configuration?
> >
> > Any help is very much appreciated,
> > Philipp
> >
>
>
> The SCA specs do not define how to do this although it is possible with
> the
> current Tuscany code, see
> http://apache.markmail.org/message/7nvfyxzavua5fypu
>
> I'd really like to come up with a better way to make this easier, how
> about
> we add a new Tuscany specific attribute to the JMS binding SCDL to control
> this, say format="XML|Object", with the default being format="XML" so the
> current functionality remains if you don't define this. So that would look
> like:
>
>           <binding.jms format="Object" >
>               <destination name="RequestQueue" />
>               <response>
>                   <destination name="ResponseQueue"/>
>               </response>
>           </binding.jms>
>
> Would this do what you need? Anyone else have comments or alternative
> suggestions?
>
>    ...ant
>

Reply via email to