Hi,
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
compatibility.
[1] https://issues.apache.org/jira/browse/AMQ-2287
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/DefaultUnitOfWork-doesn-t-copy-headers-from-the-original-message-if-it-s-a-JmsMessage-tp5518546p5543984.html
Sent from the Camel Development mailing list archive at Nabble.com.