This is the  peace of code which i am using to receive message from queue.
i  call that method in while loop every time it create connection with
apache mq and recievw message and then close connection or session .
it runs fine for 1 - 2 days but after some time  . i got and error in my
activeMq.log

*"on close, rollback duplicate: ID:********554721317961-1:1:1:1:1"*

continously for every message .


::::
And this configuration i have used in activeMq.xml








* <transportConnectors>            <!-- DOS protection, limit concurrent
connections to 1000 and frame size to 100MB -->
<transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=304857600
<http://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=304857600>"/>
<transportConnector name="amqp"
uri="amqp://0.0.0.0:5672?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600
<http://0.0.0.0:5672?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600>"/>
<transportConnector name="stomp"
uri="stomp://0.0.0.0:61613?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600
<http://0.0.0.0:61613?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600>"/>
<transportConnector name="mqtt"
uri="mqtt://0.0.0.0:1883?maximumConnection0s=5&amp;wireFormat.maxFrameSize=304857600
<http://0.0.0.0:1883?maximumConnection0s=5&amp;wireFormat.maxFrameSize=304857600>"/>
<transportConnector name="ws"
uri="ws://0.0.0.0:61614?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600
<http://0.0.0.0:61614?maximumConnections=5&amp;wireFormat.maxFrameSize=304857600>"/>
</transportConnectors>*




On Wed, May 1, 2019 at 8:54 PM Clebert Suconic <[email protected]>
wrote:

> I’m sorry. You need to add more context to the issue.  Nobody will be able
> to help you without information.
>
> On Wed, May 1, 2019 at 2:18 AM Shireen mirza <[email protected]>
> wrote:
>
> > I got this error while receiving messgaes on close, rollback duplicate:
> .
> > I need your help to resolve this issue.
> >
> > Thanks in advance.
> >
> --
> Clebert Suconic
>

Reply via email to