See

http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html#createOutputStream(javax.jms.Destination)


On 5/24/06, Adrian Co <[EMAIL PROTECTED]> wrote:
Hi,

You could try using ActiveMQConnection.createOutputStream(...);

Hope this helps. :)

Regards,
Adrian Co


new amq user wrote:

>Hi,
>
>I need help in making stream messages.
>
>Looking at the source, the constructor signature for the
>ActiveMQOutputStream is:
>
>public ActiveMQOutputStream(ActiveMQConnection connection, ProducerId
>producerId, ActiveMQDestination destination,
>            Map properties, int deliveryMode, int priority, long timeToLive)
>
>Seems easy enough, but how is one supposed to come up with the ProducerId
>object? (given that I have a producer that I think I should be using, the
>api has no way for me to get the ProducerId of the producer I already have)
>
>I'm assuming that the validity of that object is important to the
>functioning of the entire set up.
>
>Thanks,
>
>Esa
>
>--
>View this message in context: 
http://www.nabble.com/ActiveMQOutputStream+question-t1669524.html#a4524837
>Sent from the ActiveMQ - User forum at Nabble.com.
>
>
>




--

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

Reply via email to