Discussion:
[openjms-developer] [ openjms-Bugs-1161387 ] Message Id get over written by send
SourceForge.net
2005-03-11 14:21:00 UTC
Permalink
Bugs item #1161387, was opened at 2005-03-11 16:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1161387&group_id=54559

Category: client
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Johan Van Zijl (jvanzijl)
Assigned to: Jim Alateras (jalateras)
Summary: Message Id get over written by send

Initial Comment:

Hi there I found a strange issue where I want to
generate my own message id's for sequencing out side of
JMS, I effectively generate my id add it to the message
before sending and then use it in the listening
application to then indicate the message is related. My
issue is that when a message passes through the
JmsMessageProducer's sendMessage it ignores the fact
that I have already set the id.

I had a look at the specification and there is no
mention of this behavior, is this correct of maybe a bug.

Johan Van Zijl
INTEC TELECOM SYSTEMS




----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1161387&group_id=54559
SourceForge.net
2005-03-14 12:42:58 UTC
Permalink
Bugs item #1161387, was opened at 2005-03-12 01:20
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1161387&group_id=54559

Category: client
Group: v0.7.6.1
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Johan Van Zijl (jvanzijl)
Assigned to: Jim Alateras (jalateras)
Summary: Message Id get over written by send

Initial Comment:

Hi there I found a strange issue where I want to
generate my own message id's for sequencing out side of
JMS, I effectively generate my id add it to the message
before sending and then use it in the listening
application to then indicate the message is related. My
issue is that when a message passes through the
JmsMessageProducer's sendMessage it ignores the fact
that I have already set the id.

I had a look at the specification and there is no
mention of this behavior, is this correct of maybe a bug.

Johan Van Zijl
INTEC TELECOM SYSTEMS




----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2005-03-14 23:42

Message:
Logged In: YES
user_id=557161

Its not a bug. Please post a query on the openjms-user list before
raising bug reports.
The JMSMessageID property is set by the JMS provider on
send. See "Table 3.1:How JMS Message Header Field Values
Are Set" in the following:
http://java.sun.com/products/jms/tutorial/1_3_1-
fcs/doc/prog_model.html#1035811

You probably want to set the JMSCorrelationID property instead,
or add your own property to the messages.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1161387&group_id=54559
Loading...