Paul-

FWIW, though, the new JMS provider endpoint does not support InOut exchanges so you can't use it as-is if you need that functionality.


On Feb 7, 2008, at 7:08 AM, Gert Vanthienen wrote:

Paul,


ServiceMix 3.2 comes with a few new JMS endpoints (cfr. http:// servicemix.apache.org/servicemix-jms-new-endpoints.html). The consumer and provider endpoints have specific Marshaler interfaces (JmsConsumerMarshaler and JmsProviderMarshaler) that are a lot easier to implement. If you're stuck with ServiceMix 3.1 somehow, your options are probably limited to either implementing the JmsMarshaler interface yourself or take a look at the source for DefaultJmsMarshaler and make sure that you override all methods that use the 'endpoint' field.


Gert




PM wrote:
Hi,

I was planning on subclassing the DefaultJmsMarshaler in order to set the
JMSXGroupID into my outbound JMS messages.

Would this be the right place to do it? There is nowhere else really in
my chain of events that seems sensible to do it.

The only problem is that the DefaultJmsMarshaler wants a JmsEndpoint in
the constructor.  How would I go about providing that?

Regards, Paul.



--
Daryl
http://itsallsemantics.com

"We want great men who, when fortune frowns, will not be discouraged."
    -- Colonel Henry Knox, 1776





Reply via email to