it works, thank you


Roger Hoover wrote:
> 
> I think it's just:
> 
> my $headers = $frame->headers;
> my $foo_header = $headers->{'foo'};
> 
> On Mon, Jul 19, 2010 at 7:31 AM, titexe <tit...@yahoo.fr> wrote:
> 
>>
>> Hello,
>>
>> i use a perl script "stomp" to consume message from my broker.
>>
>>        my $can_read = $stomp->can_read({ timeout => "5" });
>>        if ( $can_read ) {
>>            # There is a message to collect.
>>            my $frame = $stomp->receive_frame;
>>            $stomp->ack( { frame => $frame } );
>>            my $framebody=$frame->body;
>>
>> how to retrieve the values of the properties of the header ?
>>
>> Thank you in advance
>> --
>> View this message in context:
>> http://old.nabble.com/Stomp%3Aperl-script-%22retrieve-the-values-of-the-properties-of-the-header%22-tp29205343p29205343.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Stomp%3Aperl-script-%22retrieve-the-values-of-the-properties-of-the-header%22-tp29205343p29212129.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to