ACTIVEMQ-106 Drop ConnectionControl Packet
This commit is contained in:
parent
042a8f556a
commit
2de3bfa9f1
|
@ -84,7 +84,7 @@ public class AMQConnectorImpl implements AMQConnector
|
||||||
public boolean isAllowLinkStealing()
|
public boolean isAllowLinkStealing()
|
||||||
{
|
{
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -232,6 +232,13 @@ public class OpenWireProtocolManager implements ProtocolManager<Interceptor>
|
||||||
{
|
{
|
||||||
case CommandTypes.CONNECTION_INFO:
|
case CommandTypes.CONNECTION_INFO:
|
||||||
break;
|
break;
|
||||||
|
case CommandTypes.CONNECTION_CONTROL:
|
||||||
|
/** The ConnectionControl packet sent from client informs the broker that is capable of supporting dynamic
|
||||||
|
* failover and load balancing. These features are not yet implemented for Artemis OpenWire. Instead we
|
||||||
|
* simply drop the packet. See: ACTIVEMQ6-108 */
|
||||||
|
break;
|
||||||
|
case CommandTypes.CONSUMER_CONTROL:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new IllegalStateException("Cannot handle command: " + command);
|
throw new IllegalStateException("Cannot handle command: " + command);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue