The Map is the properties you want to set on the JMS message. So put
in it whatever key/value pairs you'd normally add to a JMS Message via
the setObjectProperty(key, value) method.

I've just updated the javadoc on this method to make it more explicit.

On 6/19/06, ychawla <[EMAIL PROTECTED]> wrote:

Maybe the properties can be set while creating the output stream here, line
62 appears to set the Properties but I can't find any documention for what
should be in the Map properties:

056        public ActiveMQOutputStream(ActiveMQConnection connection,
ProducerId producerId, ActiveMQDestination destination,
057                Map properties, int deliveryMode, int priority, long
timeToLive) throws JMSException {
058            this.connection = connection;
059            this.deliveryMode = deliveryMode;
060            this.priority = priority;
061            this.timeToLive = timeToLive;
062            this.properties = properties==null ? null : new
HashMap(properties);
--
View this message in context: 
http://www.nabble.com/ActiveMQ-Outputstream-message-properties-t1807819.html#a4929350
Sent from the ActiveMQ - User forum at Nabble.com.




--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to