Author: clebert.suconic(a)jboss.com
Date: 2011-06-03 11:21:19 -0400 (Fri, 03 Jun 2011)
New Revision: 10773
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/jms/client/HornetQMessageProducer.java
Log:
duh!
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/jms/client/HornetQMessageProducer.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/jms/client/HornetQMessageProducer.java 2011-06-03
13:53:02 UTC (rev 10772)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/jms/client/HornetQMessageProducer.java 2011-06-03
15:21:19 UTC (rev 10773)
@@ -314,7 +314,7 @@
private void doSend(final Message message, final long timeToLive, HornetQDestination
destination) throws JMSException
{
- if (message.getJMSExpiration() != 0)
+ if (message.getJMSExpiration() == 0)
{
if (timeToLive == 0)
{
Show replies by date