activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Commented: (AMQCPP-155) Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Date Sun, 30 Dec 2007 21:32:27 GMT


Timothy Bish commented on AMQCPP-155:

I've played around with the example given and I cannot make it core dump using transacted
sessions.  I tweaked the code to make it send more messages but still no core dumps here.

I'm on Fedora 8 running client lib Activemq-CPP 2.1.3 and Broker ActiveMQ 5.0

I'd recommend submitting an example with a makefile next time, makes my life easier.  

> Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
> ----------------------------------------------------------------
>                 Key: AMQCPP-155
>                 URL:
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.1.1
>         Environment: CMS 2.1.1
> ActiveMQ 4.1.1
> SUSE 10.2
>            Reporter: John Oldman
>            Assignee: Nathan Mittler
>            Priority: Blocker
>             Fix For: 2.2
>         Attachments: forumBuild.tar.gz
> Based on the sample code, have set up a simple client/server queue,  
> using createSession with AUTO_ACKNOWLEDGE.
> Messages appear to work as expected.
> However, I want to eventually end up with a failover setup, with two servers, and therefore
need to leave the message in the queue until it has been sucessfully processed by the working
> I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue,
then calling commit() when the server has completed processing the message, but keep getting
core dumps.
>  Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message