Here is the code, I think can be useful to know the problem.
Thanks for your help.
virtual void run(){
try {
// Create a ConnectionFactory
string brokerURI =
tcp://192.168.233.214:61616?&soLinger=1&soKeepAlive=true
auto_ptr connectionFactory(
The consumer is running in a PC with linux (Fedora Core10). This PC is
connected to a HUB.
The messagebroker and producer are in other PC and it is connected to other
HUB.
Two HUBS are connected.
The producer is sending messages and consumer receives them well.
When I switch off a HUB, the consume
Hi,
perhaps you could come up with a small test case that shows the error ?
Best regards
Andreas
On Mar 26, 2009, at 10:11 AM, dongabda wrote:
Yes, I'm using the excepcionListener and onException, but any
exception is
captured when the PC lost the network link. If I stop the
messagebrok
The consumer is running in a Linux (Fedora Core 10)
I saw (doing netstat) that the tcp connection appears like ESTABLISHED, and
this is not true because the netkork link is lost.
Any idea?
Timothy Bish wrote:
>
> On Thu, 2009-03-26 at 02:11 -0700, dongabda wrote:
>> Yes, I'm using the excepcio
On Thu, 2009-03-26 at 02:11 -0700, dongabda wrote:
> Yes, I'm using the excepcionListener and onException, but any exception is
> captured when the PC lost the network link. If I stop the messagebroker the
> exception occurs, but with link lost not. How can I resolve it?
>
What OS are you
Yes, I'm using the excepcionListener and onException, but any exception is
captured when the PC lost the network link. If I stop the messagebroker the
exception occurs, but with link lost not. How can I resolve it?
--
View this message in context:
http://www.nabble.com/Reconnection-tp226
On Tue, 2009-03-24 at 00:46 -0700, dongabda wrote:
> Hi,
> I saw that the consumer doesn't give any exception, it apparently works
> without net link, but after restore the link the consumer doesn't receive
> nothing. How can I know if the connection is down? How can I reconnect it? I
> saw the CMS
Hi,
I saw that the consumer doesn't give any exception, it apparently works
without net link, but after restore the link the consumer doesn't receive
nothing. How can I know if the connection is down? How can I reconnect it? I
saw the CMS Api but I don't see any function to know if the session or
Hi there,
i assume that you have set the clientId and consumer name to the same
value
after the reconnect ?
Best regards
Andreas
On Mar 23, 2009, at 5:15 PM, dongabda wrote:
I have a messagebroker and a producer in Java (Both in same PC).
The consumer is in other PC and C++(activemq-cpp.2
JIRA AMQ-1202 was marked as resolved on 5.0.0. But the downloaded src does
not show the changes mentioned by Kevin, i.e. comment out code on onStarted
and onStopped methods. Wonder it is fixed another way or it didn't make it
to 5.0.0? I need to patch it to 4.1.1 for the memory leak, can you poi
Another bug related to this could be AMQ-1214. I see the same problem with
a simple pair of brokers connected using a static NetworkConnector. When the
receiving AQ server is down, the sender does the following every 5 seconds:
INFO [NetworkConnector] Establishing network connection between fr
Hi Fred,
Roger is referring to an Iona built apache licensed productisation
of ActiveMQ - http://open.iona.com/products/fuse-message-broker/
This is not an apache release of ActiveMQ - which as you rightly
point out can be found here: http://people.apache.org/repo/m2-
snapshot-repository/or
Whate is 5.0.0.4-fuse?? All of the snapshot builds are by date.
Thanks,
Fred
Roger Bryant wrote:
>
> Apparently this issue has been resolved in 5.0.0.4-fuse.
>
> Regards,
>
> Roger
>
>
>
>
--
View this message in context:
http://www.nabble.com/reconnection-to-unavailable-broker-causing
Apparently this issue has been resolved in 5.0.0.4-fuse.
Regards,
Roger
--
View this message in context:
http://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tf4603206s2354.html#a13298013
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
A while back, with AMQ 4.2, which is now 5.0, I ran into a similar problem.
I don't recall that there was a thread leak, but there was definitely a
memory leak. Check out AMQ-1202. Again, this may be different now with the
more recent 5.0. I've not taken 5.0 yet, as I made a handful of changes
Hi Fred,
We are experiencing the exact same problem here with ActiveMQ 5.0. We have
had the Iona guys in over the last few weeks and it has been raised as a
bug. I intend to follow up on it in the next few days and will keep you
posted.
Rgds,
Roger
--
View this message in context:
http://www
16 matches
Mail list logo