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 <[EMAIL PROTECTED]> wrote: > 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 >
