Hi Nishant,
Stomp 1.0 supports only string headers, so it's probably something with the
conversion that gets you always a false value. Currently you have to do your
own conversions from string to the type you want to use. This is something
we are looking to improve in Stomp 1.1 spec.
Cheers
--
De
Dejan, I have another question. Using Net::Stomp i am sending a text message
with 2 properties (one string and one Boolean). My code looks like this...
my %head;
$head{Critical} = 1;
$head{Application} = "Test";
$head{destination} = '/queue/Queue.Test';
Perfect that worked. thanks Dejan.
Dejan Bosanac wrote:
>
> Try putting Jettison in your broker's classpath (lib/ or lib/optional).
>
> Cheers
> --
> Dejan Bosanac
>
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.ni
Try putting Jettison in your broker's classpath (lib/ or lib/optional).
Cheers
--
Dejan Bosanac
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Thu, Aug 20, 2009 at 3:03 PM, nmittal wrote:
>
> I tried...
>
I tried...
$stomp->subscribe(
{ destination => '/queue/Queue.Emails',
'ack' => 'client',
'activemq.prefetchSize' => 1,
'transformation' => 'jms-map-json'
}
);
but my client kept waiting.. however, when I do...
$stomp->s
Yup, you can use jms-map-xml (or json), jms-object-xml (or json) and
jms-byte
Cheers
--
Dejan Bosanac
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Thu, Aug 20, 2009 at 2:48 PM, nmittal wrote:
>
> That w
That was it, I wasnt using any transformation. Now i see the body as XML..
thanks a lot Dejan. Also, is there a jms-map-json?
thanks again
Nishant
Dejan Bosanac wrote:
>
> Hi,
>
> I'm not sure your Perl client supports messages transformation, but you
> have
> to add "transformation" header
Hi,
I'm not sure your Perl client supports messages transformation, but you have
to add "transformation" header to your subscribe frame (such as
'transformation' => 'jms-map-xml').
Take a look at
http://activemq.apache.org/stomp.html#Stomp-Messagetransformations
and StompTest unit test for more i
Hi, Has anyone been able to write a Perl client that reads MapMessges off of
an ActiveMQ queue?
We have a C++ ActiveMQ client that is sending MapMessages to the broker.
However, the Perl client using Net::Stomp says that the body is undefined.
Below is the message as seen in the activemq admin we