Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Module parameter JMS - use comma in string literal

$
0
0

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:

  1. is there a syntax for providing a literal string that contains comma without having SAP detecting two parameters then?
  2. Is there any other method (maybe setStringProperty) that I could use?

 

Any help would be really great

 

Thanks and kind regards

Jens


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>