The store and forward feature does not work when multiple instances of SAS® Business Orchestration Services use the same Java Message Service queue


Issue

If multiple, distinct instances of SAS Business Orchestration Services are running, the store and forward (SAF) feature does not work properly when both are configured to use the same Java Messaging Service (JMS) queue.

For example, the following configuration results in unpredictable behavior since both SAF handlers use the same ActiveMQ queue, myqueue1:

sas.integration.saf.handlers.handler1.store-type=jms
sas.integration.saf.handlers.handler1.queue=myqueue1
sas.integration.saf.handlers.handler2.store-type=jms
sas.integration.saf.handlers.handler2.queue=myqueue1

 

Circumvention

To circumvent the issue, update the configuration so that each handler is set to a unique queue name. Here is an example:

sas.integration.saf.handlers.handler1.store-type=jms
sas.integration.saf.handlers.handler1.queue=myqueue1
sas.integration.saf.handlers.handler2.store-type=jms
sas.integration.saf.handlers.handler2.queue=myqueue2