[
https://issues.apache.org/activemq/browse/AMQCPP-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52371#action_52371
]
Timothy Bish commented on AMQCPP-246:
-------------------------------------
The reason you see that is that the Java client has am InactivityMonitor class
that sits on top of the TCP transport sending periodic keep-alive messages to
the broker and also checking for receive inactivity. The CPP client doesn't
have a class to do that yet. You could file an enhancement issue for that, and
if feeling really generous you could even port the Java one over and contribute
the code back to the project.
> Failover transport doesn't detect network failures
> --------------------------------------------------
>
> Key: AMQCPP-246
> URL: https://issues.apache.org/activemq/browse/AMQCPP-246
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.0
> Environment: CMS Consumer running under Linux (Fedora Core 10)
> Broker and JMS producer running under Linux (Redhat 7)
> Reporter: Daniel Donoso
> Assignee: Timothy Bish
> Fix For: 3.0.1
>
> Attachments: SimpleAsyncConsumer.cpp
>
>
> I tested the CMS SimpleAsyncConsumer example to check the failover transport
> funcionality and it doesn't detect the network failures, and after network
> restauration the consumer never receives any message.
> These are the steps:
> 1. The network has a failure.
> 2. The Producer sends a message.
> 3. After a minute the network is up. (The consumer doesn't detect the
> failure)
> 4. The consumer doesn't receive the message.
> 5. The producer sends other message.
> 6. The consumer never receives old and new messages
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.