JBoss Community

A problem using jms in readhat

created by dugu sword in JBoss Messaging - View the full discussion

I use jboss-6.0.0.M2 as my jms server。when I install jboss in Debian,I can send and recieve jms message 。but when I install jboss in redhat,nothing happens after I send jms message to jboss:

 

producer.send(txtMsg);

 

As I checked the code,I find out when I use this method

 

producer.setTimeToLive(60000l);

 

jms message will not send to jboss.When I delete this code, Jboss can recieve the message

 

Does anyone know this problem , thank you

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community