Dear all,
I try to call method "setConnectionNameList" on a MQQueueConnectionFactory class in a receiver JMS Channel (generic Access to JMS provider)
The javadoc at ibm.com says that the method expects a comma separated string of hosts(ports) like so:
host1.domain.com(1427),host2.domain.com(1427)
If I set the parameter like this...
JMS.QueueConnectionFactoryImpl.method.setConnectionNameList java.lang.String host1.domain.com(1427),host2.domain.com(1427)
... xpi_inspector tells me that the second parameter has not type hence ignoring it.
- I am aware that the comma (,) is used as parameter delimiter and specifying java.langString host1.domain.com(1427), java.lang.String host2.domain.com(1427) would be syntactically ok for the parser on SAP side but would reside in two single string parameters. setConnectionNameList method however needs a single parameter string.
- I am also aware that for some JMS providers escaping the comma like %2C would work because the jms provider methodes then unescape the string and hence would be using the proper formatted string internally. Unfortunatelly, Websphere MQ would not unescape this literal string
So my questions are:
- is there a syntax for providing a literal string that contains comma without having SAP detecting two parameters then?
- Is there any other method (maybe setStringProperty) that I could use?
Any help would be really great
Thanks and kind regards
Jens