Code:
15:35:00.696 DEBUG [task-scheduler-1][org.springframework.integration.jms.DynamicJmsTemplate] Sending created message: ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination = null, originalTransactionId = null, producerId = null, destination = null, transactionId = null, expiration = 0, timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime = 0, correlationId = null, replyTo = null, persistent = false, type = null, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = {content-type=application/json, timestamp=1358541300686}, readOnlyProperties = false, readOnlyBody = false, droppable = false, text = "ccc"}
15:35:00.716 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer#0-1][org.springframework.jms.listener.DefaultMessageListenerContainer] Received message of type [class org.apache.activemq.command.ActiveMQTextMessage] from consumer [Cached JMS MessageConsumer: ActiveMQMessageConsumer { value=ID:arwen3-51792-1358541297411-3:1:1:1, started=true }] of session [Cached JMS Session: ActiveMQSession {id=ID:arwen3-51792-1358541297411-3:1:1,started=true}]
1358541297411-3:1:3,started=true}
15:35:00.801 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer#0-1][org.springframework.integration.jms.ChannelPublishingJmsMessageListener] converted JMS Message [ActiveMQTextMessage {commandId = 7, responseRequired = true, messageId = ID:arwen3-51792-1358541297411-3:1:2:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:arwen3-51792-1358541297411-3:1:2:1, destination = queue://queue.demo, transactionId = null, expiration = 1358541310697, timestamp = 1358541300697, arrival = 0, brokerInTime = 1358541300704, brokerOutTime = 1358541300715, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@4d3af084, marshalledProperties = org.apache.activemq.util.ByteSequence@588491b8, dataStructure = null, redeliveryCounter = 0, size = 1034, properties = {timestamp=1358541300686, content-type=application/json}, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = "ccc"}] to integration Message payload ["ccc"]
I had the time to live set to 10 seconds and...