I can not call connection.setExceptionListener() because the problem occurs 
before I get the connection. This what I do:
Context  context = new InitialContext();
  | ConnectionFactory connectionFactory = 
context.lookup("java:/JMSExploitationXA");
  | Queue queue = context.lookup("java:/external/RemoteJBoss/queue/MyQueue");
  | Connection connection = connectionFactory.createConnection();
  | 

I don't know exactly where an exception is raised (I will look at this ASAP):
* In the context.lookup("...")
  | * In the connectionFactory.createConnection()

The ExceptionListener is useful when you want watch what's happening when you 
send/receive a message but it is not my case. 

By the way, I thank you very much,
GÃrald

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869754#3869754

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869754


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to