Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F436DBD1 for ; Wed, 13 Mar 2013 18:00:17 +0000 (UTC) Received: (qmail 67379 invoked by uid 500); 13 Mar 2013 18:00:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 67330 invoked by uid 500); 13 Mar 2013 18:00:16 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 67311 invoked by uid 99); 13 Mar 2013 18:00:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 18:00:16 +0000 Date: Wed, 13 Mar 2013 18:00:16 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (AMQ-4316) Problem with duplicate message detection using ObjectMessage with equal object MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4316?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-4316. ----------------------------- Resolution: Incomplete No test case or supporting information supplied. =20 > Problem with duplicate message detection using ObjectMessage with equal o= bject > -------------------------------------------------------------------------= ----- > > Key: AMQ-4316 > URL: https://issues.apache.org/jira/browse/AMQ-4316 > Project: ActiveMQ > Issue Type: Bug > Components: Broker, Message Store > Affects Versions: 5.8.0 > Environment: Activemq 5.8.0, Kahadb store. > Reporter: Pether S=C3=B6rling > Fix For: AGING_TO_DIE > > > When sending any ObjectMessage that contain an equal object to was been s= ent before I get from KahaDBStore : Duplicate message add attempt rejected. > So even if the messageId and commandId is different the message is still = detected as a duplicate and ignored. > A simple test would be to create two objectmessages with "session.createO= bjectMessage("ANY OBJECT THAT is Equal")" and send to a queue.=20 > Our code worked with version 5.7.0 and tested amq-store as well as KahaDb= store.=20 > -- activemq config-- > > =09xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:aop=3D"h= ttp://www.springframework.org/schema/aop" > =09xmlns:context=3D"http://www.springframework.org/schema/context" > =09xmlns:amq=3D"http://activemq.apache.org/schema/core" xmlns:jms=3D"http= ://www.springframework.org/schema/jms" > =09xmlns:tx=3D"http://www.springframework.org/schema/tx" > =09xsi:schemaLocation=3D"http://www.springframework.org/schema/beans http= ://www.springframework.org/schema/beans/spring-beans-3.0.xsd > =09=09http://www.springframework.org/schema/tx http://www.springframework= .org/schema/tx/spring-tx-3.0.xsd > =09=09http://www.springframework.org/schema/context http://www.springfram= ework.org/schema/context/spring-context-3.0.xsd > =09=09http://www.springframework.org/schema/aop http://www.springframewor= k.org/schema/aop/spring-aop-3.0.xsd > =09=09http://activemq.apache.org/schema/core http://activemq.apache.org/s= chema/core/activemq-core-5.4.1.xsd > =09=09http://www.springframework.org/schema/jms http://www.springframewo= rk.org/schema/jms/spring-jms-3.0.xsd"> > =09 > =09 =09=09persistent=3D"true" enableStatistics=3D"true"> > =09=09 > =09=09 > =09=09 > =09=09 > =09=09=20 > =09 > =09=09 > =09=09 > =09=09 > =09 > =09=09 > =09=09 > =09=09=09 > =09=09=09=09 > =09=09=09=09=09" optimizedDispatch=3D"true" > =09=09=09=09=09=09lazyDispatch=3D"false" producerFlowControl=3D"false" me= moryLimit=3D"128 mb" > =09=09=09=09=09=09strictOrderDispatch=3D"true"> > =09=09=09=09=09=09 > =09=09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09=09 > =09=09=09=09=09=09=09 =09=09=09=09=09=09=09=09recoverDuration=3D"360000" /> > =09=09=09=09=09=09 > =09=09=09=09=09 > =09=09=09=09 > =09=09=09 > =09=09 > > > > > > > > =20 > > > > > > =20 > =09=09 > =09=09=09 > =09=09=09 > =09=09=09 > =09=09 > =09 > =09 =09=09brokerURL=3D"${server.activemq.jmsfactory.brokerURL}" /> > =09 > =09 =09=09class=3D"com.atomikos.jms.AtomikosConnectionFactoryBean" init-metho= d=3D"init" > =09=09destroy-method=3D"close"> > =09=09 > =09=09 > =09=09 > =09=09 > =09 > =09 =09=09class=3D"org.springframework.context.support.DefaultLifecycleProces= sor"> > =09=09 > =09=09 > =09 > > -- -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira