[ 
https://issues.apache.org/jira/browse/QPIDJMS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730395#comment-14730395
 ] 

Pontus Liljegren commented on QPIDJMS-105:
------------------------------------------

I see in the old implementation it used the messageId from the jms message and 
if that was not present it generated a new one. Was this changed due to what 
Timothy writes?

http://svn.apache.org/viewvc/qpid/tags/0.32/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageProducerImpl.java?view=markup
 (line 290)

A solution similar to that would be great to have if it is possible.


> Cannot set messageId to UUID-format
> -----------------------------------
>
>                 Key: QPIDJMS-105
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-105
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>            Reporter: Pontus Liljegren
>
> We need to set a messageId to UUID format on messages we send. When I look at 
> the source code in 
> https://github.com/apache/qpid-jms/blob/master/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsSession.java
>  I see that the message id is generated using the producer id and a sequence 
> number. (Line 923).
> Is it not possible to use UUID:s as message ids?
> Question on Stack overflow: 
> http://stackoverflow.com/questions/32353797/apache-camel-qpid-set-messageid-to-uuid-not-working



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to