[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuscany-user
Subject:    Re: JMS Binding: How to set the xml-format flag?
From:       "Venkata Krishnan" <for.svkrish () gmail ! com>
Date:       2008-02-18 14:55:30
Message-ID: 33e260400802180654g7c75bffbn4f14ed729126fa58 () mail ! gmail ! com
[Download RAW message or body]


Hi,

How about doing the using PolicyIntents ?

Could we see this as a broader domain of DataFormat and be able to define
policies that in turn can be interpretted appropriately by our JMS Binding
?

- Venkat

On Feb 15, 2008 2:04 PM, ant elder <ant.elder@gmail.com> wrote:

> On Fri, Feb 15, 2008 at 8:08 AM, Philipp Konradi <konradiph@gmail.com>
> 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
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic