ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » return function when call sap is too long.

Post new topic  Reply to topic
 return function when call sap is too long. « View previous topic :: View next topic » 
Author Message
lcl3977
PostPosted: Fri May 07, 2010 1:17 am    Post subject: return function when call sap is too long. Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri May 07, 2010 2:32 am    Post subject: Re: return function when call sap is too long. Reply with quote

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
View user's profile Send private message Send e-mail
lcl3977
PostPosted: Tue May 11, 2010 12:10 am    Post subject: Reply with quote

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
View user's profile Send private message
fatherjack
PostPosted: Tue May 11, 2010 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » return function when call sap is too long.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.