activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: strange error when consume message from queue/topic.
Date Tue, 11 Feb 2014 15:46:39 GMT
On 02/11/2014 10:26 AM, neosmrt wrote:
> It is an ActiveMQMapMessage since my application was able to push message
> into queue, verified by Web Console. Error is coming from the same line, I
> verified it by debugging line by line and error was thrown when Recieve()
> method is called. I even tried RecieveNoWait() and
> Recieve(TimeSpan.AddSeconds(10)), but in these cases is returning null
> message.
>
> I checked in web console and it showed the connected consumer and message is
> enqueued.
>
> Don't know what to do.???
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677680p4677784.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
try

consumer.Recieve(TimeSpan.FromSeconds(10);


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


Mime
View raw message