Re: Overwritting the request queue
I surfed a lot..but was not able to find out the resolution... Will be thankful if anybody can help James.Strachan wrote: > > You might wanna surf some of the FAQ entries... > > http://incubator.apache.org/activemq/how-do-i-create-new-destinations.html > > On 12/8/06, garima015 <[EMAIL PROTECTED]> wrote: >> >> I am creating the request queue in Requestor from >> Destination requestQueue = session.createQueue(requestQueueName); >> and sending the message to queue >> >> and then in replier i am again forming the request queue with same >> rquestqueuename >> Destination requestQueue = session.createQueue(requestQueueName); >> >> and it is overwriting the request queue deleting all messages which were >> initially there >> >> Is this the right way to form the request queue in both Requestor and >> Replier.Or else how to handle this? >> Please if anybody can help me in this >> Thanks in advance >> >> -- >> View this message in context: >> http://www.nabble.com/Overwritting-the-request-queue-tf2781517.html#a7760344 >> 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/Overwritting-the-request-queue-tf2781517.html#a7760713 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Overwritting the request queue
You might wanna surf some of the FAQ entries... http://incubator.apache.org/activemq/how-do-i-create-new-destinations.html On 12/8/06, garima015 <[EMAIL PROTECTED]> wrote: I am creating the request queue in Requestor from Destination requestQueue = session.createQueue(requestQueueName); and sending the message to queue and then in replier i am again forming the request queue with same rquestqueuename Destination requestQueue = session.createQueue(requestQueueName); and it is overwriting the request queue deleting all messages which were initially there Is this the right way to form the request queue in both Requestor and Replier.Or else how to handle this? Please if anybody can help me in this Thanks in advance -- View this message in context: http://www.nabble.com/Overwritting-the-request-queue-tf2781517.html#a7760344 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- James --- http://radio.weblogs.com/0112098/
Overwritting the request queue
I am creating the request queue in Requestor from Destination requestQueue = session.createQueue(requestQueueName); and sending the message to queue and then in replier i am again forming the request queue with same rquestqueuename Destination requestQueue = session.createQueue(requestQueueName); and it is overwriting the request queue deleting all messages which were initially there Is this the right way to form the request queue in both Requestor and Replier.Or else how to handle this? Please if anybody can help me in this Thanks in advance -- View this message in context: http://www.nabble.com/Overwritting-the-request-queue-tf2781517.html#a7760344 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.