Thanks for ur reply.I got my mistake.

James.Strachan wrote:
> 
> Just create a queue in each client as there is really only one queue
> for a given name in a broker. See...
> 
> http://incubator.apache.org/activemq/how-do-i-create-new-destinations.html
> 
> On 12/11/06, garima015 <[EMAIL PROTECTED]> wrote:
>>
>> No i have my own Requestor class in whih i am creating request queue
>> using
>> method :
>> Destination requestQueue = session.createQueue(requestQueueName);
>>
>> I have multiple clients accessing this requestor class...i want to share
>> the
>> request queue among multiple clients
>> so i want to have some method which can check if request queue is already
>> existing or not in case not should create new one else should take the
>> exitsing queue and create producer for that
>> Is there any method which can implement this
>>
>> Thanks for ur reply
>>
>>
>> rajdavies wrote:
>> >
>> > Do you mean your using the javax.jms.QueueRequestor class ?
>> >
>> >
>> > On 8 Dec 2006, at 22:17, garima015 wrote:
>> >
>> >>
>> >> no i am using multiple producers also sharing the same request queue.
>> >> Is there any method to get the existing queue?
>> >> Thanks
>> >>
>> >> amq user wrote:
>> >>>
>> >>> I assume you are running many CONSUMERs to share a same request
>> >>> queue.
>> >>> Then you should use topic instead of queue. All CONSUMER
>> >>> subscribed to
>> >>> that topic will get the message.
>> >>>
>> >>> On 12/8/06, garima015 <[EMAIL PROTECTED]> wrote:
>> >>>>
>> >>>>
>> >>>> I need an urgent help
>> >>>> I have many producers running on different thread need to share
>> >>>> the same
>> >>>> request queue.I am not getting how to implement this.
>> >>>> I try to get some resolutions from FAQ's but was not able to
>> >>>> understand
>> >>>> the
>> >>>> JNDIutil purpose fully also not sure whethar it will be useful in
>> >>>> this
>> >>>> case
>> >>>> or not
>> >>>> Any help will be really appreciated
>> >>>> --
>> >>>> View this message in context:
>> >>>> http://www.nabble.com/Multiple-Producers-sharing-single-queue-
>> >>>> tf2783192.html#a7765511
>> >>>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >> --
>> >> View this message in context: http://www.nabble.com/Multiple-
>> >> Producers-sharing-single-queue-tf2783192.html#a7766352
>> >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Multiple-Producers-sharing-single-queue-tf2783192.html#a7796124
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-Producers-sharing-single-queue-tf2783192.html#a7798819
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to