|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
return function when call sap is too long. |
« View previous topic :: View next topic » |
Author |
Message
|
lcl3977 |
Posted: Fri May 07, 2010 1:17 am Post subject: return function when call sap is too long. |
|
|
Apprentice
Joined: 04 Jul 2006 Posts: 27
|
In our message flow ,we use java compute to call sap by JCo.
the problem is ,some time,the sap system is too slow,sap return the message to us is beyond 20 minutes.
when other system request our message broker is too much,maybe cause all of the message instance is running for 20 minutes.
if there is another sync request coming in,it will be time out.
I want to know ,is there some way to resolve this problem.when is too long to call the sao rfc function,we can end the message flow or end the thread of java. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 07, 2010 2:32 am Post subject: Re: return function when call sap is too long. |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
lcl3977 wrote: |
In our message flow ,we use java compute to call sap by JCo.
the problem is ,some time,the sap system is too slow,sap return the message to us is beyond 20 minutes. |
This is the problem you need to address. I imagine that this is not due to communications or load on SAP, there are ways to fix that.
You need to find out why SAP takes 20 mins to process your message. It may well be that you need to batch your SAP requests to get a better throughput... Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
lcl3977 |
Posted: Tue May 11, 2010 12:10 am Post subject: |
|
|
Apprentice
Joined: 04 Jul 2006 Posts: 27
|
thanks for your reply.
normally,the SAP system is fast, but sometime it is slow,SAP system can't resolve this problem that why it is slow.
but when SAP system is slow to return,our message flow instance is fully running. and no message flow response the new request.
if we can end the message flow or the java thread,and then there are some message flows can process the new request. |
|
Back to top |
|
 |
fatherjack |
Posted: Tue May 11, 2010 12:30 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
I don't know if there is a way of doing this in the SAP Adapter in the message broker but would suggest this is not where you want to be doing it anyway.
If you could end the flow prematurely because you don't get a timely response from SAP you will not know if the SAP function ever completed successfully or not.
It would be better for any timeout to be in the SAP application i.e. the SAP function times out and can then send notification of a timeout back to the message flow as an application error return.
See if your SAP application guys can do something like this for you. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|