Re: Error while Sending Map message

2007-01-16 Thread garima015
= replyConsumer.receive() msg is coming as null (only when i am sending exception obj from catch block) any idea why? James.Strachan wrote: On 1/15/07, garima015 [EMAIL PROTECTED] wrote: Can i also send exception object ?? as Object Message You can send any Serializable object

Re: Error while Sending Map message

2007-01-16 Thread garima015
Thanks for ur help It got resolved garima015 wrote: I have to send the exception obj from catch block.Say whenever the processing is throwing anyerror i have to place the exception object wrapped in ObjectMesage. As of now when i am trying it is getting sucessfully placed on queue

Re: Error while Sending Map message

2007-01-15 Thread garima015
. On 1/12/07, garima015 [EMAIL PROTECTED] wrote: we are using 4.0.2 any solution?? i want to send hashmap Hiram Chirino wrote: Are you using ActiveMQ 4.1.0 ??? On 1/12/07, garima015 [EMAIL PROTECTED] wrote: Hi, I have an urgent requirement in which i have to send Map

Error while Sending Map message

2007-01-12 Thread garima015
Hi, I have an urgent requirement in which i have to send Map as a message to Queue I am trying this code: if(message instanceof Map){ MapMessage requestMessage = (MapMessage) session.createMapMessage(); requestMessage.setObjectProperty(MAP, message);

Re: Error while Sending Map message

2007-01-12 Thread garima015
we are using 4.0.2 any solution?? i want to send hashmap Hiram Chirino wrote: Are you using ActiveMQ 4.1.0 ??? On 1/12/07, garima015 [EMAIL PROTECTED] wrote: Hi, I have an urgent requirement in which i have to send Map as a message to Queue I am trying this code: if(message

Re: Broker Fails

2007-01-03 Thread garima015
the broker is running or not. Any help on this will be really appreciated. garima015 wrote: I am not using network of brokers.I have a scenario in which if my running broker fails or get shutdown what is going to happen with the messages.Also if broker shutdown where my application will send

Re: Broker Fails

2007-01-03 Thread garima015
the broker is running or not. Any help on this will be really appreciated garima015 wrote: I am not using network of brokers.I have a scenario in which if my running broker fails or get shutdown what is going to happen with the messages.Also if broker shutdown where my application will send

Broker Fails

2007-01-02 Thread garima015
I am not using network of brokers.I have a scenario in which if my running broker fails or get shutdown what is going to happen with the messages.Also if broker shutdown where my application will send the message in order to restore them once the borker will start again. Also how the restarted

Re: Broker Fails

2007-01-02 Thread garima015
I am using NON PERSISTENT message delivery ... Please suggest me something to avoid any loss of message James.Strachan wrote: On 1/2/07, garima015 [EMAIL PROTECTED] wrote: I am not using network of brokers.I have a scenario in which if my running broker fails or get shutdown what

Re: Performance Issue

2006-12-19 Thread garima015
Thanks for the reply,but it is solved. Hiram Chirino wrote: Best bet is to run it with a profiler to figure out where the hot spot is for linux. On 12/18/06, garima015 [EMAIL PROTECTED] wrote: I am facing a really bad performance of ActiveMq on linux box. When running on windows 1000

Re: Performance Issue

2006-12-19 Thread garima015
Changing the delivery mode to NONpersisitent and creating the session using Session.DUPS_OK_ACKNOWLEDGE is effectively increasing the performance..now it is processing 1000 transactions in less than 2 sec James.Strachan wrote: On 12/19/06, garima015 [EMAIL PROTECTED] wrote: Thanks

Performance Issue

2006-12-18 Thread garima015
I am facing a really bad performance of ActiveMq on linux box. When running on windows 1000 transactions are taking 2 seconds and when running on Linux same are taking 40 sec. Please if anybody can tell me solution to performance issue. Here is the code i am using to send and receive the

Re: Request Response

2006-12-13 Thread garima015
can u send the code u have written for Consumer and producer. Because i just have implemented the same thing and is working fine.May be i can help u. Prachi Munjal wrote: Hi, Actually we have to use Active Mq and no other wrapper implementation. It will be great if you couls help me working

Re: Multiple Producers sharing single queue

2006-12-11 Thread garima015
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

Re: Multiple Producers sharing single queue

2006-12-11 Thread garima015
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

Broker

2006-12-08 Thread garima015
I am new to ActiveMQJMS.I have requirement where Requestor and Replier are residing on different JMS.If the broker is started is there any way from which i can find out which broker is running to get the connection from ActiveMQConnectionFactory. I need it to be as java code. Any help will be

Overwritting the request queue

2006-12-08 Thread garima015
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 =

Re: Broker

2006-12-08 Thread garima015
Solved!!! garima015 wrote: I am new to ActiveMQJMS.I have requirement where Requestor and Replier are residing on different JMS.If the broker is started is there any way from which i can find out which broker is running to get the connection from ActiveMQConnectionFactory. I need

Re: Overwritting the request queue

2006-12-08 Thread garima015
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

Multiple Producers sharing single queue

2006-12-08 Thread garima015
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

Re: Multiple Producers sharing single queue

2006-12-08 Thread garima015
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