You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hank.X.Hua (JIRA)" <ji...@apache.org> on 2013/07/06 03:29:48 UTC
[jira] [Created] (AMQ-4622) Broter connect to themselves when using
the Multicast Transport in NetworkConnector
Hank.X.Hua created AMQ-4622:
-------------------------------
Summary: Broter connect to themselves when using the Multicast Transport in NetworkConnector
Key: AMQ-4622
URL: https://issues.apache.org/jira/browse/AMQ-4622
Project: ActiveMQ
Issue Type: Bug
Components: Broker, Connector, JMS client, Message Store
Affects Versions: 5.8.0
Environment: pc(computer), windows 7(os),Multicast Transport,networkConnector
Reporter: Hank.X.Hua
Fix For: 5.x
ActiveMQ Configuration:
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core" brokerName="Hank1" dataDirectory="${activemq.data}">
<transportConnectors>
<transportConnector name="openwire" uri="tcp://0.0.0.0:61623?maximumConnections=1000&wireformat.maxFrameSize=104857600"
discoveryUri="multicast://239.254.254.254:6255?group=mq"/>
</transportConnectors>
<networkConnectors>
<networkConnector name="MQ1" uri="multicast://239.254.254.254:6255?group=mq"/>
</networkConnectors>
With this configuration, after starting the MQ, the MQ will appear " Network connection between vm://Hank1#0 and tcp://Computer name/IP:61623@50576(Hank1) has been established" in the activemq.log, When a consumer is listening, it will appear two consumer in "Number of Consumer" of "http://localhost:8168/admin/queues.jsp".This will lead to not receive the complete message(for example producer send 100 messages, the consumer of "ID:WCMIS147-50871-1373073323074-0:1" will receive 73 messages,and another one of "TalendESB-MQ1_Hank1_inbound_Hank1
" will receive 27 messages)
So ,I think this bug is dangerous,if it was really exsit
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira