This content has been marked as final.
Show 2 replies
-
1. Re: issue with JMSRouter and message-prop properties
tcunning Dec 5, 2012 11:45 PM (in response to tobysaville)Toby,
Which AS are you using? Are you sure you are using jbossmq rather than jboss-messaging?
--Tom
-
2. Re: issue with JMSRouter and message-prop properties
tobysaville Dec 5, 2012 11:58 PM (in response to tcunning)Hi Tom,
im using
Release ID: JBoss [SOA] 5.2.0.GA_SOA (build: SVNTag=5.2.0.GA_SOA date=201111090730)
pretty sure im using jboss-messaging but im not 100%. it will be the default implementation that comes with that version (which i assumed to be jboss-messaging).
either way, this works in my JMSPropertiesSetter implementation
toJMSMessage.setLongProperty("JMS_JBOSS_SCHEDULED_DELIVERY", new Long(value.toString()).longValue());
and this doesnt have any effect in JMSRouter
msg.setStringProperty(key.substring(messagePropPrefix.length()), property.getValue());
where key is message-prop-JMS_JBOSS_SCHEDULED_DELIVERY
cheers
toby