You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Nathan Mittler <na...@gmail.com> on 2006/06/01 00:22:24 UTC
Re: Stomp and TextMessage
Hi,
I think if you leave off the content-length header, it will be interpreted
as a text message.
Regards,
Nate
On 5/31/06, wilkesj <wi...@gmail.com> wrote:
>
>
> I'm try to send a TextMessage from a ruby producer to Java consumer. The
> message is being seen as a BytesMessage on the Java side. I've tried
> setting the type header to TextMessage, javax.jms.TextMessage and
> org.apache.activemq.commands.ActiveMQTextMessage. How do force it to be a
> TextMessage?
>
> Thanks,
> Wilkes
> --
> View this message in context:
> http://www.nabble.com/Stomp+and+TextMessage-t1712841.html#a4650956
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
Re: Stomp and TextMessage
Posted by James Strachan <ja...@gmail.com>.
Agreed - FWIW we should probably add the content-type handling to
Stomp support so folks could explicitly specify its MIME type etc
On 5/31/06, Nathan Mittler <na...@gmail.com> wrote:
> Hi,
> I think if you leave off the content-length header, it will be interpreted
> as a text message.
>
> Regards,
> Nate
>
> On 5/31/06, wilkesj <wi...@gmail.com> wrote:
> >
> >
> > I'm try to send a TextMessage from a ruby producer to Java consumer. The
> > message is being seen as a BytesMessage on the Java side. I've tried
> > setting the type header to TextMessage, javax.jms.TextMessage and
> > org.apache.activemq.commands.ActiveMQTextMessage. How do force it to be a
> > TextMessage?
> >
> > Thanks,
> > Wilkes
> > --
> > View this message in context:
> > http://www.nabble.com/Stomp+and+TextMessage-t1712841.html#a4650956
> > Sent from the ActiveMQ - User forum at Nabble.com.
> >
> >
>
>
--
James
-------
http://radio.weblogs.com/0112098/