How do I pass my payload itself into a Java method? In the Java method I am trying to run an Tamino XQuery which takes will take the payload passed to it and update it in Tamino.
Hi India,
To pass a payload to your class you need to have another Java Object Gateway call before your class call where you select massage as the xbd.object.function and getContent as the xbd.object.action. The value of the property xbd.object.content is then the name of the newly created ByteArray which you can then use as an input to your class.
Regards,
- Matthew G.
My Java class now accept byte as input.I tried printing this byte in a Mediator property but it didn’t appear.
Can you show me the step for the last call, I mean the one where the ByteArray is being passed to the class ?If possible,the intermediate step will also be helpful to me.
Hi India,
Please take a look in the topic “Developing Component Extension” at the entries from 17.6.04 from myself or Jason. I posted a description of how to do this and Jason posted an actual sequence he has implemented.
Regards,
- Matthew G.