-Ridire123,

You can do that by implementing the JmsProviderMarshaler interface or extending the DefaultJmsProviderMarshaler and pluging that one into your <jms:provider/> endpoint. The DefaultJmsProviderMarshaler already shows you how to create the JMS message and set properties on it (from the properties map), so you just have to override that method and add some more properties based on your message payload.

Regards,

Gert

Ridire123 wrote:
I am using a JMS Provider to implement a publish-subscribe pattern and am
having no problems with the default provider, as expected.  However, I want
to make the header properties on the JMS message dynamic, so things like
time to live, priority, etc. are to be pulled from the message and set based
on their values.  I am having a problem finding any place in the provider
where implementing this is possible, though.  I expected it would be
available in the marshaller, but have not had any success there.  Is this
even achievable?

Thanks for any help,
-Ridire123

Reply via email to