activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: qpid cpp text message
Date Thu, 09 Jul 2015 13:23:42 GMT
On 07/09/2015 04:40 AM, plsph wrote:
> hi
> when sending message by qpid proton writen in c, by default the message is
> text message and i can recieve it with amqp broker in jms format, but when i
> try to send message by qpid-cpp library it is always binary message, despite
> message.setcontent("jms-type")
>
> anyone have an idea how to transform binary message to text?
> thx in advance
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/qpid-cpp-text-message-tp4698876.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
Can you shed some additional light on what you are doing, what client's
you use, what broker version etc.

By default the pre-5.12 brokers will be using the NATIVE transformer for
AMQP messages meaning that the messages will be received by the openwire
client as BytesMessage types.  If you want full protocol interop you
need to change to the JMS transformer. 

http://activemq.apache.org/amqp.html

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message