Skip to Content
Author's profile photo Juan Vasquez

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:

2015-02-10 10_57_50-SAP Process Integration Designer - SoapSenderEOIOPedidos - SAP NetWeaver Develop.png

The parameters:

This is a sample of Monitor view (pimon):

2015-02-10 11_09_53-Message Monitor - SAP NetWeaver Administrator.png

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]

How XPath Works (The Java™ Tutorials > Java API for XML Processing (JAXP) > E…

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh

      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