JMS callback property variable ends with space - not a valid Javaidentifier
---------------------------------------------------------------------------

                 Key: TUSCANY-2794
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2794
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
    Affects Versions: Java-SCA-1.4
            Reporter: Tom Seelbach


We are seeing this exception when trying to run some JMS callback scenarios:

org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.binding.jms.impl.JMSBindingException: 
javax.jms.MessageFormatException: CWSIA0112E:The property name scaCallbackQueue 
 is not a valid Javaidentifier. at 
com.ibm.ws.soa.sca.binding.sca.SCAServiceBindingProvider.invokeServiceOperation(SCAServiceBindingProvider.java:540)
 at    
...     

In looking at JMSBindingConstants I see that this property is defined oddly 
with a trailing space:  

String CALLBACK_ID_PROPERTY = "CallbackID";
String CALLBACK_Q_PROPERTY  = "scaCallbackQueue ";
String CONVERSATION_ID_PROPERTY = "scaConversationId";

Removing the space fixes the problem for us.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to