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
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.
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
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
(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-
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
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
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.
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