On Wed, 22 Jan 2020 at 16:20, akabhishek1
<[email protected]> wrote:
>
> Hi Team,
>
> We have requirement that, all the qpid JMS messages should be serializable.
> I received below object type and which is not serializable.
>
> Received Object Type - JmsBytesMessage,
> org.apache.qpid.jms.provider.amqp.message.AmqpJmsBytesMessageFacade
>

None of the clients JMS Message types are serializable, and there are
no plans to make them so. I cant think of ever using a JMS Message
that was.

> I tested with adding below connection property, but that doesn't help.
>
> jms.deserializationPolicy.whiteList=org.apache.qpid.jms.provider.amqp.message.AmqpJmsBytesMessageFacade
>

This is to be expected, per the documentation that option it is for
governing the deserialization of a java-serialized object payload
contained inside an ObjectMessage. It doesnt related to the message
itself, or any of the other message types.

> Could you please suggest that, how can we make received Qpid JMS object as
> serializable?
>

If you want to serialize the message details you will need to do this
through some other mechanism yourself.

> Thanks in advance !!
>
> Regards,
> Abhishek Kumar
>
>
>
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to