Eathi Rajulu created ARTEMIS-2700: ------------------------------------- Summary: Avoid checking java identified for jms attributes :: AMQ139012 Key: ARTEMIS-2700 URL: https://issues.apache.org/jira/browse/ARTEMIS-2700 Project: ActiveMQ Artemis Issue Type: Bug Reporter: Eathi Rajulu
Hi Team, We are using Web application http header & JMS properties transformations/exchange. *Web to JMS :* x-header-id should be passed to jms attribute as x-header-id *JMS to Web :* jms attribute x-property-id passed to web as x-property-id We came across one issue related to java identifier checking in (checkPropperty method) [https://github.com/apache/activemq-artemis/blob/master/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessage.java] When we verified the same with activemq, we don't have such restrictions [https://github.com/apache/activemq/blob/master/activemq-client/src/main/java/org/apache/activemq/command/ActiveMQMessage.java] In case of Web application level all custom headers can be prefixed with X-, so we started using -(hyphen) Can we fix checking this java identifier property in apache artemis side. *Error we are getting as :* java.lang.IllegalArgumentException: The property name 'x-header-id' is not a valid java identifier. {{}} Thanks, Raju -- This message was sent by Atlassian Jira (v8.3.4#803005)