Here's a very simple question I am sure someone can answer.
I want to increase the Mediation time-out of an ESB flow my team has developed. Currently at the Application server level the "Total transaction lifetime timeout " parameter (under App server>server1>Transaction Service) is set to 120 seconds and while we can change this, we would much prefer to update the time-out for just our one mediation and not for all of them. There are other deployed components and they should not have to have a longer timeout.
Is this possible? That is can we set the Mediation time out for a specific ESB and not the others.
For the field "Total transaction lifetime timeout " in the admin console, the online help states "This timeout is used only if the application component does not set its own transaction timeout.", but its not clear how we can set the transaction timeout for a specific EBB mediation.
We are using WPS 126.96.36.199
This topic has been locked.
3 replies Latest Post - 2012-05-17T04:51:33Z by RajuJ
Pinned topic Setting ESB time-out for individual Mediation flows
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-17T04:51:33Z at 2012-05-17T04:51:33Z by RajuJ
Jens.Engelke 120000BG0J21 PostsACCEPTED ANSWER
Re: Setting ESB time-out for individual Mediation flows2011-05-16T06:21:51Z in response to SystemAdminHi,
there are many different types of timeouts which can hit you in a mediation - the transaction timeout is just one of them.
If your mediation doesn't rely on / doesn't make use of distributed transactions, one way of avoiding the timeout is probably to define SCA qualifiers that avoid participating in / creating a new global transaction.
You'd find these qualifiers at the interface of your export and component as well as on the component's implementation itself.
I haven't seen a setting for a "local" transaction timeout on mediation yet.
djcurrie 120000HR7S16 PostsACCEPTED ANSWER
Re: Setting ESB time-out for individual Mediation flows2011-05-16T15:04:56Z in response to SystemAdminPrior to 7.0 you could modify the transaction timeout on the mediation module EJB but, with the move to the "native container", this EJB no longer exists. Your only option is to explicitly include an EJB in the end-to-end flow via an EJB import/export and set the timeout for the EJB. This can be achieved either declaratively (http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tjta_entra2.html) or programmatically (http://www-01.ibm.com/support/docview.wss?uid=swg21198425).
RajuJ 2700012C4N1 PostACCEPTED ANSWER
Re: Setting ESB time-out for individual Mediation flows2012-05-17T04:51:33Z in response to SystemAdminHi djcurrie,
As you said, if I have a scenario as below
Long Running BPEL->EJB->Mediation Flow
will this work? For me it does not. Because the Transaction starts from the BPEL invoke activity.
The transaction timeout is happening only if the EJB creates its own transaction.
Need you view on this.