geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phani Balaji Madgula (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1662) ActiveMQ client not able to send message to destination in Tx session
Date Wed, 01 Mar 2006 10:14:39 GMT
ActiveMQ client not able to send message to destination in Tx session   
------------------------------------------------------------------------

         Key: GERONIMO-1662
         URL: http://issues.apache.org/jira/browse/GERONIMO-1662
     Project: Geronimo
        Type: Bug
  Components: ActiveMQ  
    Versions: 1.0    
 Environment: All supported platforms
    Reporter: Phani Balaji Madgula


Hi, 

 I observed the following when I was trying to port my MDBs on Geronimo.
 
   Session session = connection.createQueueSession(true,0);
   Queue queue = session.createQueue("PhaniQueue1");
   MessageProducer sender = session.createProducer(queue);
   TextMessage message = session.createTextMessage("add item");
   ....
   .....
      sender.send(message);
 
When the message is sent to "PhaniQueue1", an MDB has to pick it up. But in this case, it
is not happening. No error in console or logs.
 
When I change transactional  session to non-Tx one, the message will be successfully processed..
   Session session = connection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);

I have also tested with standalone ActiveMQ. It is failing there also.
 
Thanks
phani


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message