activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Websphere and ActiveMQ <derrick...@hotmail.com>
Subject Re: Anyone knows how to configure ActiveMQ?
Date Tue, 26 May 2009 18:53:13 GMT

What I'm using is that Session Bean to post message to queue, and this
session bean is Container Manager Bean, so how can I commit it manually,
another is that this session bean sent message to IBM MQ, and my Java Client
always received message on time, however, after I replaced IBM MQ with
ActiveMQ. I also can post message to Queue and I can see it is there, but
sometimes my java client can receiver message, sometimes not, if I use linux
OS ActiveMQ, I never receive message from the queue even the message is in
Quque.



Andreas Gies wrote:
> 
> Hi there,
> 
> it might be that the message processing is subject to some kind of  
> transaction inside your app Server?
> In that case the message is only available to consumers when the  
> transaction has been committed.
> 
> HTH
> Andreas
> 
> 
> On May 25, 2009, at 4:57 PM, Websphere and ActiveMQ wrote:
> 
>>
>> I have configure ActiveMQ on Websphere successfully, and it works.  
>> Now I have
>> some issues.
>>
>> My environment is that I have J2EE MDB and Pure Java Application to  
>> use
>> ActiveMQ(Queue).
>>
>> everytime, when I use Java client to send message to ActiveMQ, J2EE  
>> MDB can
>> receive message right awary and process the message.
>>
>> But when J2EE Application sends message to ActiveMQ, then I run Java  
>> client
>> to retrieve Message, most time I can not get the message  
>> immediately, have
>> to run java client many times, or I have to run J2EE application to  
>> send
>> message again.
>>
>> I don't know why it happens, do I need to configure something on  
>> ActiveMQ?
>> -- 
>> View this message in context:
>> http://www.nabble.com/Anyone-knows-how-to-configure-ActiveMQ--tp23708316p23708316.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Anyone-knows-how-to-configure-ActiveMQ--tp23708316p23729120.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message