Hi James,
I appreciate the reply. The approach you outline worked great. Here is
sample code for anyone else who might have looked at this thread:
Map myMap = new HashMap();
//TODO - We have some hardcoded JMS properties here.. probably okay
//You can put any properties in this map below that you desire
myMap.put("invocation", serviceInfoForJms.getInvocationType());
myMap.put("submitterURI", serviceInfoForJms.getSubmitterURI());
myMap.put("operatorURI", serviceInfoForJms.getOperatorURI());
activeMQOutputStream =
((ActiveMQConnection)connectionFactory.createConnection()).createOutputStream(queue,
myMap, ActiveMQMessage.DEFAULT_DELIVERY_MODE,
ActiveMQMessage.DEFAULT_PRIORITY, ActiveMQMessage.DEFAULT_TIME_TO_LIVE);
--
View this message in context:
http://www.nabble.com/ActiveMQ-Outputstream-message-properties-t1807819.html#a4963715
Sent from the ActiveMQ - User forum at Nabble.com.