[ https://issues.apache.org/jira/browse/QPIDJMS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730337#comment-14730337 ]
Pontus Liljegren commented on QPIDJMS-105: ------------------------------------------ Ok, thanks. I saw now in the source code for the old library that generateMessageId() at line 373 creates a new UUID. I was under the impression that it used the JMSMessageId but I was mistaken. 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 > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org