= 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
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
.
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
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);
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
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
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
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
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
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
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
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
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
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
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
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
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 =
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
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
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
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
21 matches
Mail list logo