Question
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 :
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)
What version of PEAG used? We don't have JMS MDB Listener service instead we have JMS MDB Listener and Service JMS can you please clearly mention where you are trying to add these properties.
Thanks,
Narasimha