Robbie Gemmell commented on PROTON-474:

'JMSExpiration - current' is what I would do (assuming JMSExpiration is set of 
course). If that was <=0 then I guess the choice is setting it to 0/1  or try 
not to send the message, possibly by throwing an exception as you suggest.

(Curse the new JIRA phone interface which doesn't let you select and move the 
cursor properly)

> Incorrect mapping of TTL to JMSExpiration in JMS InboundTransformer
> -------------------------------------------------------------------
>                 Key: PROTON-474
>                 URL: https://issues.apache.org/jira/browse/PROTON-474
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.5
>            Reporter: Timothy Bish
>             Fix For: 0.7
>         Attachments: JMSExpiration-patch.txt, PROTON-474-v2.patch
> The inbound message transformation of AMQP message to JMS message incorrectly 
> sets the JMSExpiration to message TTL which is defined in milliseconds while 
> the JMSExpiration value is a sum of the Message Timestamp and the producers 
> TTL.  The transformation should probably map the message creation time + the 
> TTL to the setJMSExpiration method.  

This message was sent by Atlassian JIRA

Reply via email to