The 2.1.5 snapshots (and the 2.2 release version) has a new JMS transport 
based on Spring JMS.   One of the things this DOES have is a reconnect on 
failure setting for the JMS transport.   Thus, if the connection goes down, 
the client will automatically try to reconnect to the broker.      Might be 
worth looking into upgrading.

Dan


On Sat March 28 2009 11:24:06 am cververs wrote:
> Hi,
>
> We're using CXF 2.1.2 in WebSphere 6.1 to access services over Tibco EMS.
> We'd like to instantiate clients (using the generated code from WSDLs). The
> client creation takes a few seconds (because of parsing the WSDLs), so we'd
> like to keep them around for the various user sessions to invoke rather
> than recreate them for every invocation.
>
> If we configure the WSDLs to connect directly to TIBCO, this works
> beautifully. Once we switch to the WS JMS connection factory, the problems
> start. WS cuts off the connection because it has these connection pools. So
> we HAVE to recreate the clients at every invocation, slowing down the user
> experience.
>
> Any advice on how to tackle this, e.g. settings on the WS connection pools,
> CXF settings or implementing the cleints diferently so they do not have to
> read the entire WSDLs?
>
> Thanks!

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to