Re: How is JMSMessageID generated?

2021-10-03 Thread Simon Lundström
Thank you both! BR, - Simon

Re: How is JMSMessageID generated?

2021-10-02 Thread Justin Bertram
Artemis doesn't use the same code or even the same general structure for the JMSMessageID. It simply uses a UUID [1], e.g.: ID:fc5905d8-23b8-11ec-a8f6-5c80b6f32172 Justin [1] https://github.com/apache/activemq-artemis/blob/main/artemis-commons/src/main/java/org/apache/activemq/artemis/

Re: How is JMSMessageID generated?

2021-10-01 Thread Tim Bain
It's not on our website, but https://stackoverflow.com/questions/40756712/whats-means-of-each-part-of-jms-message-id provides an answer that looks accurate for ActiveMQ 5.x. I don't know if Artemis uses the same implementation or is different in some way. Tim On Wed, Sep 29, 2021, 6:25 AM Simon

How is JMSMessageID generated?

2021-09-29 Thread Simon Lundström
Hey all! I swear I've found page on https://activemq.apache.org/ or else where that describes how the message id is generated in ActiveMQ (Classic, but Artemis might use the same code?) but I can't find it anymore. BR, - Simon

Re: ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-10 Thread dhanasekar
Hi Tim, after changing double quote also, getting error. I feel issue is related to : and - characters. ./activemq purge --msgsel JMSMessageID="ID:Dhanasekars-iMac.local-53803-1520058200878-1:1:1:1:1" --jmxuser admin --jmxpassword admin DHANATEST INFO: Loading '/Applications/

Re: ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-10 Thread dhanasekar
Hi Tim Bain, How to fix this issue? you have idea ? thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-08 Thread Tim Bain
ed removed ID: string in the message id as well. > > I found the 'root cause', still didn't find the solution. > > *Root cause:* > > ID:Dhanasekars-iMac.local-54880-1520061026486-1:1:1:1:1 > > JMSMessageID is not accepting : and -, if I remove these 2 specia

Re: ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-08 Thread dhanasekar
Hi, Yes, I tried removed ID: string in the message id as well. I found the 'root cause', still didn't find the solution. *Root cause:* ID:Dhanasekars-iMac.local-54880-1520061026486-1:1:1:1:1 JMSMessageID is not accepting : and -, if I remove these 2 special character , Not ge

Re: ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-03 Thread titou10
e using ID. any one has idea ? I tried different options like single quota and double. but nothing working ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=‘ID:Dhanasekars-iMac.local-54880-1520061026486-1:1:1:1:1’”) javax.jms.InvalidSelectorException: (“JMSMessageID=‘ID:Dhanasekars-iMac.l

ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=

2018-03-03 Thread dhanasekar
Hi All, I am getting below error message, while trying to browse message using ID. any one has idea ? I tried different options like single quota and double. but nothing working ERROR: javax.jms.InvalidSelectorException: (“JMSMessageID=‘ID:Dhanasekars-iMac.local-54880-1520061026486-1:1:1:1:1

Re: JMSMessageID filtering

2016-05-24 Thread Timothy Bish
h what the real broker side message has as its ID. Message is instance of javax.jms.Message. So the JMS Message ID and JMSMessageID selector is also foreign to the Artemis broker? Not entirely sure how Artemis handles the message ID on the messages it receives so I can't say for sure if it

Re: JMSMessageID filtering

2016-05-23 Thread Vavricka
er side message has as its ID. Message is instance of javax.jms.Message. So the JMS Message ID and JMSMessageID selector is also foreign to the Artemis broker? The question regarding AMQP filtering was meant if AMQP selectors are supported (like amqp.message_id, amqp.creation_time)? It has

Re: JMSMessageID filtering

2016-05-23 Thread Timothy Bish
get by: String messageID = msg.getJMSMessageID(); String JMSMessageID = messageID.substring(4, messageID.length() - 8); ex: messageID = ID::4a31cd43-d16a-4f5a-9e44-8b39b9e6ae26:1:1:1-1 JMSMessageID = 4a31cd43-d16a-4f5a-9e44-8b39b9e6ae26 Message is successfully sent, then I create consumer

JMSMessageID filtering

2016-05-23 Thread Vavricka
= msg.getJMSMessageID(); String JMSMessageID = messageID.substring(4, messageID.length() - 8); ex: messageID = ID::4a31cd43-d16a-4f5a-9e44-8b39b9e6ae26:1:1:1-1 JMSMessageID = 4a31cd43-d16a-4f5a-9e44-8b39b9e6ae26 Message is successfully sent, then I create consumer by: MessageConsumer receiver

Re: JMSMessageID

2009-05-30 Thread Rob Davies
On 28 May 2009, at 23:12, Gorkis wrote: Hi, Anyone can confirm me if JMSMessageID value generation is unique among all the time? I refer that message id from consumed message can't be used again. Thanks! -- View this message in context: http://www.nabble.com/JMSMess

JMSMessageID

2009-05-28 Thread Gorkis
Hi, Anyone can confirm me if JMSMessageID value generation is unique among all the time? I refer that message id from consumed message can't be used again. Thanks! -- View this message in context: http://www.nabble.com/JMSMessageID-tp23771041p23771041.html Sent from the ActiveMQ -

Re: JMSMessageID and update mode

2007-05-11 Thread James Strachan
On 5/11/07, rachit goel <[EMAIL PROTECTED]> wrote: Is it possible for us to set our own message IDS in a message , so that we can easily use the JMSCorrelationID and other logic specific details as well. You can't set the Message ID explicitly, the JMS provider does that - but you can set the

JMSMessageID and update mode

2007-05-11 Thread rachit goel
://www.nabble.com/JMSMessageID-and-update-mode-tf3726994s2354.html#a10430420 Sent from the ActiveMQ - User mailing list archive at Nabble.com.