Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

MQ Listener is available only when PRPC deployed as web app

SA-21434

Summary



User wanted to set up an MQ Listener in Pega 7.1.8. 

They have created the Server, the Listener, but they are not seeing the payload coming through.

On a different matter, it appears that the MQ Listener can only be utilized when PRPC is deployed as a web application; unfortunately, user has ear files deployed.

User requires an assistance to configure the MQ Listener in Pega 7.1.8.


Error Messages



The MQ Listener is available only when PRPC deployed as web application.

Steps to Reproduce

  1. Set up a MQ Listener.
  2. Make changes PRPC EAR and deploy the same without configuring the JMS MDB.


Root Cause



"MQ Listeners with MQ Services when Pega 7.1.8 Platform is deployed as an EAR" cannot be achieved in Pega without the customized Java code.

Resolution



Follow these configuration steps to create the JMS MDB:

  1. Create the MQ QueueManager, JMS Destination(Queue/topic) with listener running on the MQ server.
  2. Configure the MQ Message provider in the Websphere application server which integrate with MQ server.
  3. Configure Message listener Service listener port for the MQ message provider in the Websphere application server.
  4. Configure the datasource to use XA transaction on the server so that it would take an advantage of XA with the MQ server.
  5. Create the MQ server, JNDI Server in PRPC.
  6. Create the Data-Admin-ServicePackage for the listener.
  7. Create the JMS Service rule with the Request and Response message mapping and the Service Activity.
  8. Create the JMS MDB listener with Listener properties and message properties, which has QCF JNDI name and Destination JNDI name for MQ server.

For deploying a JMS MDB listener by using WebSphere, user can refer to the PDN article:

https://pdn.pega.com/deploying-jms-message-driven-bean-mdb-represents-jms-mdb-listener-pega-7#websphere



 

 

Published March 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us