I'm going to assume you mean the newer AMQP 1.0 JMS client
('qpid-jms-client' maven artifactId). If you don't, disregard the
below.

I believe the only way the client can currently send an amqp-sequence
body is when sending a StreamMessage. There is intention to define a
means of sending more varied payloads through use of ObjectMessage
eventually, but that isnt something thats in place yet.

Incoming messages with an amqp-sequence body will be treated as a
SteamMessage only if annotated to indicate they are JMS stream
messages (i.e sent by the JMS client, or somthing else annotating the
contents are suitable), otherwise the contents of the sequence will be
given as a List inside an ObjectMessage.

Robbie

On 12 April 2016 at 15:18, Jiří Neuman <[email protected]> wrote:
> Hi,
>
> We’re using Apache Qpid client (for AMQP 1.0) in a Java-based project and we 
> are looking into the use of amqp-sequence in the message body (payload). We 
> were not able to find a direct support for producing / consuming a message 
> with AMQP sequence type in the Qpid library (besides internal classes that 
> seem to handle the translation to the wire-format). Is there any support for 
> this usecase that we could use or do we have to implement it ourselves? Can 
> you point me to any examples / references that can be helpful in building a 
> client sending an AMQP message with a amqp-sequence type?
>
> S pozdravem / Best regards
> Jiří Neuman
>

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

Reply via email to