activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: ActiveMQOutputStream question
Date Wed, 24 May 2006 02:03:55 GMT
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.
>
>  
>


Mime
View raw message