cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Assignment of Outbound Queue

Former Member
0 Kudos

Hi,

I have a scenario JDBC-PI7.0-ECC (RFC). Here once my data comes into the PI (multiple rows), and while doing a java mapping I would get a param which let me know if its of emergengy type & this has to be put to the priority queue, outbound to ECC. Is there a way to do this?

All message need to to call the same RFC.

Regards

Unni

Accepted Solutions (0)

Answers (1)

Answers (1)

henrique_pinto
Active Contributor
0 Kudos

You can have queue assignment only at Adapter Engine layer, not at mapping runtime.

Best approach would be to fill some custom dynamic configuration within your mapping (given that the emergency flags comes in the payload) and read this dynamic configuration at a custom adapter module that sets the queue. This way you avoid having to parse the payload within your module code.

And keep in mind that for it to work, the quality of service needs to be EOIO (Exactly Once in Order). This needs to be explicitely requested at the sender side.

For creating custom dynamic configurations: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further

For accessing dynamic configurations at modules: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules

For queue assignment at modules: http://help.sap.com/saphelp_nw70/helpdata/EN/17/50d440e14f8431e10000000a1550b0/frameset.htm

You can alternatively handle the queue assignment at your receiver side if you're using proxies (abap or java).

ABAP: http://help.sap.com/saphelp_nw70/helpdata/EN/65/40c9a4a1fa476288ac61b5fcc6bbde/frameset.htm

Java: http://help.sap.com/saphelp_nw70/helpdata/EN/9a/945e3026760745a751a85499139c7c/frameset.htm

Regards,

Henrique.