Salesforce

getBrokerURL returns an empty string when connected to ActiveMQ

« Go Back

Information

 
TitlegetBrokerURL returns an empty string when connected to ActiveMQ
URL NamegetBrokerURL-returns-an-empty-string-when-connected-to-ActiveMQ
Article Number000116568
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: Generic JMS Adapter, ABL-JMS API, ActiveMQ
Question/Problem Description

getBrokerURL returns an empty string when connected to ActiveMQ
ABL-JMS API getBrokerURL does not work with ActiveMQ
DYNAMIC-FUNCTION('getBrokerUrl' IN <session handle>) returns an empty string when using the Generic JMS Adapter with the ActiveMQ JMS provider.

Steps to Reproduce
Clarifying Information
getBrokerURL works as expected with SonicMQ.
Both Sonic and ActiveMQ have a getBrokerURL API
Error Message
Defect NumberDefect PSC00363730
Enhancement Number
Cause
This is expected behavior and a documentation defect. getBrokerURL should be documented with the list of other non-supported API methods for Generic JMS Adapter.
Resolution
None at this time, but the documentation will be updated in a future release.
Workaround
On the producing side of the application, implement the ABL-JMS API setStringProperty to set a custom string property containing the broker url. The consuming side of the application can then use getStringProperty instead of getBrokerURL.
Notes
Keyword Phrase
Last Modified Date3/2/2018 2:31 PM

Powered by