Re: XA Transaction with multiple xa-connections not working on rollback

2013-04-06 Thread Daniel Guggi
s true for xaresources based on the same amq-connection. now everything works as expected, but don't know if this would be a valid approach (or even the right place) to fix this :) ty On Sat, Apr 6, 2013 at 9:53 PM, Daniel Guggi wrote: > the jta spec says: > > 3.4.6 Resource

Re: XA Transaction with multiple xa-connections not working on rollback

2013-04-06 Thread Daniel Guggi
, Daniel Guggi wrote: > glassfish code just does that: > > it know the following resources states (one TransactionContext per > connection - same xid,same branch => imo ok because > TransactionContext.isSameRM returns true) > > > TransactionContext{transac

Re: XA Transaction with multiple xa-connections not working on rollback

2013-04-06 Thread Daniel Guggi
for different activemq-connections -> TransactionContext.isSameRM() daniel On Sat, Apr 6, 2013 at 8:48 PM, Daniel Guggi wrote: > i forget to mention. > > when we do not throw an exception after the jms-template send everything > works fine - transaction gets c

Re: XA Transaction with multiple xa-connections not working on rollback

2013-04-06 Thread Daniel Guggi
i forget to mention. when we do not throw an exception after the jms-template send everything works fine - transaction gets committed org.apache.activemq. TransactionContext.end(xid,flags) is called twice as expected... On Sat, Apr 6, 2013 at 8:46 PM, Daniel Guggi wrote: > hi, > &g

XA Transaction with multiple xa-connections not working on rollback

2013-04-06 Thread Daniel Guggi
hi, we use spring's DMLC using an xa-pooledconnectionfactory when the DMLC receives a message the (test) message-lister just sends a message to another queue using spring's jmstemplate. this jms-template also uses a xa-pooledconnectionfactory (but another instance) that meas that we have two act

Plans on apollo to support XA

2013-03-27 Thread Daniel Guggi
hi, i read through the docs to see the current status of apollo - and it seems to support jms via (stopjms and openwire). are there any plans on support for xa transactions? tia, daniel

Re: can we combine message groups and jms selectors

2013-03-27 Thread Daniel Guggi
ns about this limit and the following is > the representative one, > https://issues.apache.org/jira/browse/AMQ-221 > > SuoNayi > > > 2013/3/27 Daniel Guggi > > > thank your for your info. > > > > would i work in theory for my case (because i ensure that all messages

Question regaring maximumRedeliveries and ActiveMQMessageConsumer.java

2013-03-27 Thread Daniel Guggi
hi, version: activemq-5.8.0 we don't want client/consumer redelivery, so therefore we have set maximumRedeliveries=0 on the connectionFactory (ActiveMQConnectionFactory.java). Simple local (single-instance-broker) tests verfied that no redelivery was performed. today we tried a simple failover s

Re: can we combine message groups and jms selectors

2013-03-26 Thread Daniel Guggi
> It's more easy for problem diagnosis if some trouble is present. > Besides, Do not use sparse selector or your consumers may get stuck. > > > > > At 2013-03-26 22:58:29,"Daniel Guggi" wrote: > >hi, > > > >im curious if it is possible to use

can we combine message groups and jms selectors

2013-03-26 Thread Daniel Guggi
hi, im curious if it is possible to use message-groups and jms selectors together. example: i have consumer 'normalPriorityConsumer' for queue "X" with selector 'JMSProperty >= 4' i have consumer 'lowPrioritiyConsumer' for queue "X" with selector 'JMSProperty < 4' all messages send to queue "X"

ResourceAdapter 5.7.0 (trunk) questions

2013-01-18 Thread Daniel Guggi
hi, im using activemq-rar-5.7.0 to connect external broker to glassfish app server. so far communication works fine - however i want to change the redelivery policy now * I can do so on the resource-adapter using the fields defined in ActiveMQConnectionSupport (e.g. InitialRedeliveryDelay etc.)