Question

How do I configure Pega to publish to MQ Topic

I've explored Connect-MQ rule and seems like there is no native support to publish message to Topic (only Queue). Also reading this post (https://community1.pega.com/community/pega-support/question/publication-downstream-viw-ibm-mq-through-pega-62-sp1) and (https://community.pega.com/support/support-articles/jms-connect-error-when-publishing-topic) it seems that publishing message to topic is only available via Connect-JMS. Can someone walk me through how this can be configured?

Comments

Keep up to date on this post and subscribe to comments

September 12, 2019 - 8:09pm

what is your application server? This will depends on the app server you are running. For Websphere, IBM already comes with needed MQ client classes. For others, you would normally install IBM MQ adaptors specific to that specific app server.

September 12, 2019 - 8:25pm

Pega is running on WebLogic Server 12.2.1.3.0 and we have MQ server instances hosted in docker elsewhere.  So we can connect to it using standard means (url:port / channel).  For JMS it seems I need to define JNDI details (that i'm not familiar with).  I have all the MQ provided jars in the classpath already (as we already have MQ connectivity established for queues, but this time I need to publish to topic)

September 12, 2019 - 8:50pm

Almost all the configuration of Weblogic/MQ integration is on the Weblogic side. Pega only cares about the jndi names for the most part. Check with your Weblogic admin to access the document like this from Oracle:

https://support.oracle.com/knowledge/Middleware/1074927_1.html

This does requires an Oracle support account.

Good luck!

September 12, 2019 - 8:59pm

I don't have access to that file (and i'm sure others who are reading this as well).  Can you provide specific example here?

September 12, 2019 - 9:12pm

that is why I asked you to check with your Weblogic admin. These are Oracle support documents - not Pega specific. Your admin should have access.

September 13, 2019 - 12:53pm

Moreover, is there a reason why there is no native Connect-MQ which supports publishing to topic?  From java implementation, the difference between publishing to queue and topic is fairly rudimentary.  

 

September 13, 2019 - 1:23pm
Response to EugeneR7

true. Not sure why we did not do that although you can customize that easily yourself. I will check with SME and reply back.