You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by yannickguionnet <ya...@gmail.com> on 2007/04/10 14:55:08 UTC

geronimo transaction manager

Does anybody knows how to setup servicemix jbi container to get real
transaction manager of geronimo,  
not jencks one as it is to use servicemix inside geronimo 1.2 throw
servicemix-web.?
there is currently no transaction manager in servicemix.xml. as I understand
jbi container expect a factory and jencks provide a new instance of TM (IT
IS NOT THAT I EXPECT)
spring doesnt provide factory for geronimo but a real transaction manager
found by default in jndi, perhaps i missed something ?
thanks a lot for your help.
-- 
View this message in context: http://www.nabble.com/geronimo-transaction-manager-tf3552818s12049.html#a9919144
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: geronimo transaction manager

Posted by yannickguionnet <ya...@gmail.com>.
OK thanks, you're true there is now a glbal NC in geronimo, but I leaves
geronimo cause it ' s definitively too hard to make run ODE/ServceMix inside
geronimo, my goal is to explore ODE and not geronimo which seems not stable
enough.


Alex Boisvert wrote:
> 
> You can lookup the Geronimo transaction manager using code similar to:
> http://svn.apache.org/repos/asf/incubator/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/util/GeronimoFactory.java
> 
> and then use Spring to wire it to ServiceMix.  I hear Geronimo 2.0 has a
> public JNDI context where you can directly lookup the TransactionManager
> instance via JNDI, so you need even less glue code; just Spring wiring.
> 
> alex
> 
> 
> On 4/10/07, yannickguionnet <ya...@gmail.com> wrote:
>>
>>
>> Does anybody knows how to setup servicemix jbi container to get real
>> transaction manager of geronimo,
>> not jencks one as it is to use servicemix inside geronimo 1.2 throw
>> servicemix-web.?
>> there is currently no transaction manager in servicemix.xml. as I
>> understand
>> jbi container expect a factory and jencks provide a new instance of TM
>> (IT
>> IS NOT THAT I EXPECT)
>> spring doesnt provide factory for geronimo but a real transaction manager
>> found by default in jndi, perhaps i missed something ?
>> thanks a lot for your help.
>> --
>> View this message in context:
>> http://www.nabble.com/geronimo-transaction-manager-tf3552818s12049.html#a9919144
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/geronimo-transaction-manager-tf3552818s12049.html#a9929434
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: geronimo transaction manager

Posted by Alex Boisvert <bo...@intalio.com>.
You can lookup the Geronimo transaction manager using code similar to:
http://svn.apache.org/repos/asf/incubator/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/util/GeronimoFactory.java

and then use Spring to wire it to ServiceMix.  I hear Geronimo 2.0 has a
public JNDI context where you can directly lookup the TransactionManager
instance via JNDI, so you need even less glue code; just Spring wiring.

alex


On 4/10/07, yannickguionnet <ya...@gmail.com> wrote:
>
>
> Does anybody knows how to setup servicemix jbi container to get real
> transaction manager of geronimo,
> not jencks one as it is to use servicemix inside geronimo 1.2 throw
> servicemix-web.?
> there is currently no transaction manager in servicemix.xml. as I
> understand
> jbi container expect a factory and jencks provide a new instance of TM (IT
> IS NOT THAT I EXPECT)
> spring doesnt provide factory for geronimo but a real transaction manager
> found by default in jndi, perhaps i missed something ?
> thanks a lot for your help.
> --
> View this message in context:
> http://www.nabble.com/geronimo-transaction-manager-tf3552818s12049.html#a9919144
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>