Question

3
Replies
87
Views
KaushikGhosh Member since 2011 3 posts
Accenture
Posted: September 4, 2017
Last activity: September 6, 2017
Closed

How can I add new properties in JMS MDB Listener Service?

My application requires to add some additional properties in JMS MDB Listener service headers. Can that be done? I did one POC by adding the required properties in the header dropdown by privately editing the Data Transform pzInitServiceJMSParameterName. I tried to update deployment descriptor as I have added this new property in JMS header. I got the following message :

Failed to update ejb-jar.xml, generated MDB descriptor already exists in ejb-jar-xml.
Use generated fragments to manually update ejb-jar.xml.
https://home6v8-u.eu.nag.net:1456/lsapweb/PRServlet/Ggnygf-35Wye0E-SUa8s3gCr6XoL218OwWDNaTIeOve3BME-8EOFaw%5B%5B*/RSJMS/NAGLSAPMdbListener_Sync.xml?pzExpirationPeriod=0

I restarted the listener and tried to process some inbound message. I got the following error message :

[04/09/17 11:14:55:165 BST] 00000094 SystemOut O 2017-09-04 11:14:55,161 [AResourceAdapter : 3] [ STANDARD] [ ] (tener.ListenerStateManagerImpl) ERROR - Failed to create MDB Listener
com.pega.pegarules.pub.PRException: Invalid header name: userprop3
From: (A54547C0CA0A91EE9CBD0CE79349CF682)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.getHeaderConst(JMSListener.java:2588)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.collectServiceProperties(JMSListener.java:598)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.setup(JMSListener.java:499)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:151)
Any idea how can I enter additional properties in JMS service header?
***Updated by moderator: Lochan to move post from Applications to PSC***
Pega Customer Service Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn