camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <>
Subject Re: DefaultUnitOfWork doesn't copy headers from the original message if it's a JmsMessage
Date Wed, 07 Mar 2012 12:35:46 GMT

A short status update:

Regarding the expectation I had concerning the valid Java identifier check
that AMQ does ignore:

> However what I also don't get is that according to [2] the JMS
> specification states that header names must be valid Java identifiers, but
> ActiveMQ (5.5.1) seems to allow even non valid Java Identifiers as header
> name! I tried with "%" which is not a valid Java Identifier:

> javax.lang.model.SourceVersion.RELEASE_6.isIdentifier("%");

> And the test still passed:

> mockResult.expectedHeaderReceived("%", "header-value"); 

It's [1] which will *not* be fixed mostly because of the backward



View this message in context:
Sent from the Camel Development mailing list archive at

View raw message