pojo (String, String) to pojo(String,Byte Array/XML)

2 messages Options
Embed this post
Permalink
Saurabh K Saxena

pojo (String, String) to pojo(String,Byte Array/XML)

Reply Threaded More More options
Print post
Permalink

How to change POJO parameter to accept output in byte array or xml rather than String. 3rd party jar is returning Byte Array and after converting byte array to String; pojo output is stripping out tags from that. Looks weird to me thus finding the ways to accept byte array to POJO(to return method). Thanks !

Regards,
Saurabh S

*IMPORTANT NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature. *

Girish Patil-2

Re: pojo (String, String) to pojo(String,Byte Array/XML)

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
You can use any of Node, Source, NomalizedMessage and MessageExchange instead of string for both input and return type. Just change the signature.
-Girish

Saurabh K Saxena wrote:

How to change POJO parameter to accept output in byte array or xml rather than String. 3rd party jar is returning Byte Array and after converting byte array to String; pojo output is stripping out tags from that. Looks weird to me thus finding the ways to accept byte array to POJO(to return method). Thanks !

Regards,
Saurabh S

*IMPORTANT NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature. *