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 but
when requestor is reading that object say
Message msg = 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 in an ObjectMessage
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-while-Sending-Map-message-tf2967725.html#a8391484
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to