You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pontus Liljegren (JIRA)" <ji...@apache.org> on 2015/09/04 08:38:46 UTC
[jira] [Issue Comment Deleted] (QPIDJMS-105) Cannot set messageId
to UUID-format
[ https://issues.apache.org/jira/browse/QPIDJMS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pontus Liljegren updated QPIDJMS-105:
-------------------------------------
Comment: was deleted
(was: 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org