mirror of https://github.com/apache/activemq.git
messages from remote broker are now handled correctly again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@514592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8432e0aafe
commit
df15551a4b
|
@ -431,7 +431,10 @@ public class TransportConnection implements Service,Connection,Task,CommandVisit
|
|||
public Response processMessage(Message messageSend) throws Exception{
|
||||
ProducerId producerId=messageSend.getProducerId();
|
||||
ProducerBrokerExchange producerExchange=getProducerBrokerExchange(producerId);
|
||||
ProducerState producerState=producerExchange.getProducerState();
|
||||
ProducerState producerState = null;
|
||||
if(messageSend.getMessageId().getProducerId().equals(messageSend.getProducerId())){
|
||||
producerState=producerExchange.getProducerState();
|
||||
}
|
||||
if(producerState!=null){
|
||||
long seq=messageSend.getMessageId().getProducerSequenceId();
|
||||
if(seq>producerState.getLastSequenceId()){
|
||||
|
|
Loading…
Reference in New Issue