activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <>
Subject Re: ActiveMQOutputStream question
Date Wed, 24 May 2006 02:03:55 GMT

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

Hope this helps. :)

Adrian Co

new amq user wrote:

>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.
>View this message in context:
>Sent from the ActiveMQ - User forum at

View raw message