You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "siva sankar (JIRA)" <ji...@apache.org> on 2013/12/16 07:12:06 UTC
[jira] [Created] (AMQ-4939) JMSXGroupID deleting from message
headers in ActiveMQ
siva sankar created AMQ-4939:
--------------------------------
Summary: JMSXGroupID deleting from message headers in ActiveMQ
Key: AMQ-4939
URL: https://issues.apache.org/jira/browse/AMQ-4939
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.9.0
Environment: Production
Reporter: siva sankar
Team,
Version: activeMQ 5.9.0
This recording is created on ActiveMQ regarding Message Grouping concept.
we are trying to do message grouping based on string. We are adding JMSXgroupID to the message headers (tried through camel and through a simple client code). This JMSXGroupID getting missed/deleted when message placed in activeMQ. We are guessing that activeMQ deleting this header.
Please see my camel code below.
*****************CODE START********************************************************
from(fromLocation)
.log("reading messages")
.setHeader("JMSXGroupID",constant(100))
.process(new Processor() {
public void process(Exchange exchange) throws Exception {
S.o. p("");
}})
process(new Processor() {
public void process(Exchange exchange) throws Exception {
Message message = exchange.getIn();
System.out.println(exchange.getIn().toString());
}})
.to(endpoint);
********************CODE END****************************************************
endpoint configured as tcp://localhost:61616
When i watch message through HermesJMS. JMSXGroupID was missed in headers.
Please help on this.
Thanks,
Siva Sankar
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)