Re: strange error when consume message from queue/topic.

2014-02-12 Thread Timothy Bish
On 02/12/2014 12:43 AM, neosmrt wrote: Tabish, I actually used *Recieve(TimeSpan.FromSeconds(10))* not /Recieve(TimeSpan.AddSeconds(10))/. It was a typo. But still unable to get the message. -- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume

Re: strange error when consume message from queue/topic.

2014-02-12 Thread neosmrt
ew this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677680p4677850.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: strange error when consume message from queue/topic.

2014-02-11 Thread neosmrt
Tabish, I actually used *Recieve(TimeSpan.FromSeconds(10))* not /Recieve(TimeSpan.AddSeconds(10))/. It was a typo. But still unable to get the message. -- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677680p4677846

Re: strange error when consume message from queue/topic.

2014-02-11 Thread Timothy Bish
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.b...@redhat.com | www.fusesource.com | www.redhat.com

Re: strange error when consume message from queue/topic.

2014-02-11 Thread neosmrt
(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-

Re: strange error when consume message from queue/topic.

2014-02-10 Thread artnaseef
Perhaps the message is not truly an "ActiveMQMapMessage"? Also, with the "catch (Exception ev) {}", is it possible the error is coming from another line of code? -- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-mess

Re: strange error when consume message from queue/topic.

2014-02-10 Thread cecchinoSMI
Have you considered to use an asyncronous receiver? Try to implement the asyncronous function onMessage(const Message*)...see the ActiveMq CMS documentation. -- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic

strange error when consume message from queue/topic.

2014-02-10 Thread neosmrt
message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677680.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

strange error when consume message from queue/topic.

2014-02-10 Thread neosmrt
t; + message.NMSMessageId); } } connection.Stop(); } } catch (Exception ex) { } -- View this message in context: http://activemq.2283324.n4.nabble.com/strange-error-when-consume-message-from-queue-topic-tp4677679.html Sent