Adapter module dynamic Queue Name, n xml elements
This is easy way to configure Sender channel to assign dynamic name to Queue, you can use n elements of XML Payload to assigne Qname
Module EJB SAP EJB J2EE 1.4 Project, view doc [1], Is a very good document, there is a little mistake, the type of EJB is stateless, the image shows a wrong stateful (take care)
The parameters for Module you need with this solution:
ElementPath1: Xpath of node
ElementPath2: Xpath of node
…
ElementPath(n): Xpath of node
Separator: char for separation of elements, use une like “-“
QName: Starting part of queue, something like (ORD, MAT, PORD)
This is the configuration:
The parameters:
This is a sample of Monitor view (pimon):
Use This code for module:
——————————————————
GetQueueBean.java.html (Attach file)
—————————————————–
have a nice day
Reference URL
[1]
How to Create Modules for the JEE Adapter Engine
[2]
Juan, something similar has already been blogged about just two weeks back.
Adapter Module Development. Set QoS EOIO with Queue Name based on XPath expression