BPEL queuing mechanism?

Hi,
We have an integration project where we need a queuing mechanism. Transactions come in during the day. Some of them should be transformed and routed to one of the target systems, but some of them need to be paused and first be routed during the evening/night. Which options do we have in BPEL? We could use the Wait Activity, but what if we have thousands of waiting transactions? Are there other options?
I was thinking about using an AQ queue, but if BPEL has something we can use I rather use that.
Regards
Pete

Thanks Pete. I would go with Pete's suggestion.
Pete,
For your case, the main overhead is dehydration and loading the instance..you can tweak the minBPELWait property in domain.xml so the engine won't dehydrate for smaller waits.. instead it would do thread.sleep( ). the default value is set to 2 seconds.
<property id="minBPELWait">
<name>Minimum BPEL activity wait seconds</name>
<value>2</value>
<comment><![CDATA[
          This property sets the minimum BPEL activity wait.
If the wait time for a wait activity or an onAlarm branch of a pick activity is less than the value defined here, the wait is ignored. This property is only applicable to durable processes. The default value is 2 seconds.
]]></comment>
</property>

Similar Messages

  • SOA Suite queuing mechanism?

    Hi,
    We have an integration project where we need a queuing mechanism. Transactions come in during the day. Some of them should be transformed and routed to one of the target systems, but some of them need to be pause and first be routed during the evening/night. Which options do we have in the SOA Suite? If we use BPEL we could use the Wait Activity, but what if we have thousands of waiting transactions? Are there other options? What about the ESB?
    I was thinking about using an AQ queue, but if SOA has something we can use I rather use that.
    Regards Pete

    Thanks,
    The customer has bought the SOA Suite so that is the platform we have to use. I am a database guy, so all this mocking about in the middle tier makes me itch :-)
    There is going to be a bunch of integrations but the first one has XML messages coming in from several systems. The messages have to be transformed to another XML format and send to one system. The receiving system has a performance problem so we have to queue all messages and then make sure that we only send XX messages per minute/hour. So event if we use the Wait activity in BPEL we still have a problem with making sure that only a certain number of messages are send to the receiving system. I can see a straight forward way of doing this with a table or AQ. Are the any help in BPEL/ESB?
    I know that BPEL can handle thousands of transactions; I am just a bit worried about having thousands of transactions that has to be dehydrated to the database and woken up now and then to check if it is ok to proceed.
    Regards Pete

  • Queue Mechanism in OBPM 10GR3

    Hi all,
    We want to develop a queue mechanism in BPM. We want only 5 out of a total of 10 instances to enter a sub-process at a time. Only when the count is less than < 5, would the next instance enter the sub-process.
    But we are finding it difficult to implement this using BPM and db.
    Whenever an instance enters the sub-process we increment the count in an external db and whenever an instance leaves the sub-process we decrement the count in the external db.
    And before this step, we check for the counter from the db by matching it with a Max. Counter.
    But the problem with this is that, when the counter is less than the < Max. Counter, if 3 instances are waiting in the queue, all three are released instead of one. This is because it takes time to increment the db and there is no locking mechanism in place to make sure that the db is locked while incrementing the counter and therefore the queue does not really work.
    Does anybody has any suggestions?

    Hi VR,
    please have a look at this two links:
    XI Asynchronous Message Processing: Understanding XI Queues
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Registering queques
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    Queque assignment
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    Complete reference for IDOC queuing and monitoring
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards
    srinivas

  • Issues in Queuing mechanism(FIFO) in PI

    Hi PI Experts,
    In my project PI will use a queuing mechanism based on a FIFO methodology. This introduces a single point of failure where if a message flowing through gets stuck for any reason the entire queue will get stuck.
    Can anybody tell me the options available that be manual or automatic for reducing the turnaround time for detection and / or resolution or the utopia of removing this single point of failure all together.
    Thanks,
    Loveena.

    Hi,
    Following are the options available for this.
    1. Avoid EOIO Quality of service to block the other messages (if you are using EO ) then remove the check Maintain order at runtime option in ID..
    2. If first option cannot be done then configure CCMS alert mechanism to get trigger the Alerts.
        /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    3. From PI 7.3 onwards backup queue option will be avaialbe for handling these things..
        /people/rajeshkumar.pasupula/blog/2010/12/16/more-performance-feature-offerings-from-pi-73 (future purpose..)
    HTH
    Rajesh

  • Queue Mechanism in SAP PO7.4

    Hello Experts
    Can someone please help me to understand the Queue Mechanism handled SAP PO7.4 (same as in SAP PI Dual stacks Inbound and Outbound Queues) as I didnt find any related document.
    Thank you.
    VR

    Hi VR,
    please have a look at this two links:
    XI Asynchronous Message Processing: Understanding XI Queues
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Registering queques
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    Queque assignment
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    Complete reference for IDOC queuing and monitoring
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards
    srinivas

  • Queue Mechanism Doubts

    Dear All
    I am so much confused about queues Mechanism
    how the queues get populated ,processed and gets stuck incase of error
    in case of file to idoc message processing can be divided to FILE to XI and XI to SAPR3
    and here are my doubts
    a)which queues will be queues used (ie either outbound or inbound queues)
    for communication between file and XI?
    b)for communication between XI and R3 will queues be used or some a TRfc call be used.
    if it is queues again will it be inbound or outbound queues?
    c)in SAP R3 any queue Mechanism is used or TRfc calls used for processing the idoc ?
    Please Clarify and correct me if my understanding is incorrect?
    Thanks and Regards
    Satish

    check this blog to have a better understanding abt queue
    <a href="/people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i Asynchronous Message Processing: Understanding XI Queues -Part I</a>
    >>a)which queues will be queues used (ie either outbound or inbound queues) for communication between file and XI?
    The Blog has the i/b and o/b queue names...
    >>b)for communication between XI and R3 will queues be used or some a TRfc call be used. if it is queues again will it be inbound or outbound queues?
    In case of IDoc tRFC call is used...
    >>c)in SAP R3 any queue Mechanism is used or TRfc calls used for processing the idoc ?
    tRFC is used....
    ~SaNv...
    Edited by: Santhosh Kumar V on Feb 2, 2010 6:29 PM

  • Why do we need Queue mechanism in XI

    Hi,
    What is the use of Queues in XI message processing.???
    Why do we Look into SM58 in IDOC Posting. What it says abt???
    Explain me in brief nad in general words
    Regards
    Suman

    SM58 is used to monitor RFC communication which is basically Idocs coming (inbound) and going (outbound) from the SAP system
    SM58 - Transactional RFC (Remote Function Call). BW uses tRFC for data transmission and this transaction will list all the RFCs associated with a request. You can get details like target system, status, RFC id, etc. so that you can check in BW whether there was any errror with the RFC.
    SM58 is used to monitor the data packets coming into BW from the R3 side or from BW to BW. You can see every data packet through this transaction. So if any data packet is stuck in the source system, then you can basically see that from this transaction and take the necessary action to push it through. TRFC is nothing but Transactional RFC which connects the 2 systems and is used for sending data from one system to other.
    It'll be there for any load, full or delta coming from the source system. You can push them manually by clicking on the data packet and then hitting key F6. you can do that for most of the errors, but for say that the background user password has changed or if the user is locked, you need to change that first then reprocess.

  • Message Queuing in a single instance: should we use Streams or AQ?

    Hi,
    We are going over the requirments for a new application, and it needs to have some king of queuing mechanism that table level triggers can add tasks to.
    I instantly thought AQ as this is what I last used in the past, however now I see that there is Streams and "Streams AQ".
    Has Streams superceded AQ? Is it a simpler concept / technology that does the same thing, or is it intended for a different role?
    Thanks!
    Kirk Brocas

    AQ has appeared in Oracle8. Streams are only avalable in Oracle 9 (limited capabilities) and 10g, and they are build upon AQ.
    Although using stright AQ from the trigger will solve your problem, the Streams would give you the following benefits:
    1. They are mining redo logs, so there is no trigger perforance degradation within your app transaction.
    2. You can declaratively specify the procedure (APPLY process in the stream terms and propagation RULES) to filter, dequeue and process your messages. Oracle will fire your procedure in the background. In AQ you have to program this process by yourself.
    On the other hand, streams is a hard artillery more suited to be used as a basis for systems like CDC (change data capture) to provide near real-time update of your Data Warehouse - it is avalable in 10g.
    If you need compatability with the earlier versions of Oracle - you have to stay with AQ. Even in Oracle 8 they function as advertized and we did a number of projects which are in production since 2003. Use both Java messaging interface from J2EE appserver and OCI clients - work like a charm!

  • How to implement Queuing of WebService call.

    I have to implement a queuing mechanism for webservice.
    The scenario is like a user will invoke the client from his sytem(name:A), this webservice call is received by a server (name:B).
    The webservice will internally call a third system(name:C) , but only one instance or only one call to System C is allowed.
    So system B can get any number of webservice calls but can only invoke system C one at a time.
    The webservice has to be a sync webservice.
    Any help forthese issue is highly appreciated.

    Hi Anton,
    In WD ABAP, if we want to reimport the service call, we need to follow the same steps which we follow to create a service call.
    One thing to notice is that wizard does not allow to give the same method name which we gave/system proposed during the last time service call creation. Hence in the second time when we reimport the service call provide all details and new method name. A new method will be created in Controller (if we use existing controller). During adapting the nodes new nodes/attributes will be created.
    Hence the best approach is to before reimporting the service call is to delete the context, attributes and the method created during the previous service call creation.
    Best regards,
    Suresh

  • Message Queuing and Once Only Delivery Question

    Okay... not looking for too detailed information as you'll lose me.  Was hoping someone could clear something up for me.  In the Websphere world Websphere uses MQ as it's queuing mechanism internally to guarantee once-only delivery of messages.  Now I know XI can integrate with MQ (or other messaging systems, JMS,etc...)but certainly XI guarantees once-only delivery without any of those components.  My question is is XI's "queuing" mechanism proprietary or can, for instance, an external system somehow "put" or "get" information to/from that "queue"?

    Shaun,
    As far as my knowledge goes, I don't think external system can use the queuing mechanism of XI.
    Regards,
    Ravi
    Note : Pleaser reward the posts that help you.

  • Need of MQ series and AQ (Oracle Advanced Queues)

    I had wroked on a project where we implemented jms [point to point approach ] on oracle9IAS [orion] .
    There was a queuing mechanism for the same .
    Now I want to ask, where arise the need for MQ and AQ.
    Are they just APIs for implementing JMS in Websphere or Oracle9ias?
    Does it mean that All other App servers have or need to have their own
    API's for implementing JMS ???
    Please Respond

    Hi thanks for response !!!
    Can u elaborate more on
    "MQ and AQ are both JMS compliant (sort of) message providers. "
    Why they took this extra effort to develope MQ or AQ when JMS only can
    do it ?

  • Pass container object to testStand via queue

    Hello,
    I try to use queue mechanism to pass container data from labVIEW to TestStand.
    In TesStand I create a queue, lunch VI and waiting for incoming queue element.
    In LabVIEW I try to send some data to TestStand as container (cluster).
    Before this, I tried to pass numeric data and then everything was OK. Problem is only with container.
    In TestStand I created custom type. Can someone help me with this issue.
    Thanks in advance and best regards.
    Solved!
    Go to Solution.
    Attachments:
    ts1.JPG ‏113 KB
    LV1.JPG ‏140 KB

    Here you are. keep in minde, that this is only "testing" version.
    Attachments:
    Queue_test.vi ‏21 KB
    Queue-testowanie.seq ‏9 KB

  • Print job still in queue

    I just intalled this printer yesterday.  I am connected with a USB (No need for wireless).  When I print a document, it prints fine but it stays in the print queue and won't allow the next document to print.  I have to manually go in and clear it for the next document to print.  Where do I need to change a setting at?  I'm guessing it's something in windows.  thanks for the help!

     You may need to restart the Services that control the queue mechanism.Also, you might take a look at the folder in which the print files are located. Take a look at the following document: Cancel Print Jobs in the Printer Queue When you see a Post that helps you,Inspires you, provides fresh insight,Or teaches you something new,Click the "Thumbs Up" on that Post. Click my Answer Accept as Solution to help others find Answers.

  • Delta queue with transparent tables based on table data changes

    Dear all,
    once, I was able to find a document (maybe a how-to, if I'm not wrong) that covered a very interesting solution, that I need to implement due to a specific requirement.
    Let me explain what's the catch.
    In the source system (SAP based), there's a couple of tables that have an unsorted key but doesn't have dates or timestamps. I need to retrieve the information from such tables with a delta procedure. Due to the lack of delta supporting fields, I can't enable generic delta or even FM-based extraction.
    The solution I saw once, suggested that Source System's tables could have the change log enabled from within the data dictionary (SE11) and then, that data change monitoring could be coupled with the delta queue mechanism (tRFC or qRFC enabled).
    Could you, please, help me with that subject or, if possible, try to recover the document that explained that? Be sure I have put all my efforts trying to find that doc. by myself.
    Many thanks,
    Michel

    Hi Michel,
    I'm not aware of any document but I made use of such a delta-mechanism a couple of times. Be aware that you should not use it for large tables or tables of which the content changes a lot (inserts/modifications/deletions). The system will create many huge logs which will consume a lot of disk-space.
    Procedure:
    1) Activate the logging on your table (SE11 -> enter table name -> go to Technical settings -> flag 'Log data changes')
    2) Create a Generic DS based on FM (should be possible!) but do not touch the delta functionality; this has to be build into the FM
    3) For the FM e.g. use a copy of RSAX_BIW_GET_DATA_SIMPLE
    4) Customize the code to your needs; in the first call fetch the data from the change logs using FM DBLOG_READ_WITH_STATISTIC
    5) This FM has dates and times as import parameters. As you don't have them you could create a Z-table in which you keep track of the extractions done. For the next load you then exactly know which logs to fetch (since stored date & time of last load).
    Hope this helps you getting up to speed! It's a bit of a hassle but once set up will work fine.
    Grtx
    Marco

  • Advanced queues Vs normal queues ?

    Hi, Can anyone let me know if there is any other queuing mechanism in Oracle besides "Advanced" queues ? I am trying to find out if there are any standard/normal queues besides "Advanced" queues ?
    Thanks

    Nope - they are all 'advanced'.
    Indeed, in some ways Advanced Queueing is simply the marketing name, to distinguish from IBM's MQ or Microsoft's MSMQ.
    However, since the Queue can be kept in a persistent Oracle table, some pretty advanced capabilities can be derived that are not traditionally part of Message Queueing. Things like queue restart and queue content based reporting. (As describen in the AQ manual at http://tahiti.oracle.com)

Maybe you are looking for

  • Day 1 - problems and feedback

    Hi everyone, before I list the problems on my imac let me first give ou the specs & config: 20" 2ghz duo core 250gb 2gb (factory installed) 256 vram and yes, the dreaded build #8G1171 Here are the problems: 1 - front row doesn't work (app not respond

  • Satellite Pro A200 boots in Safe mode only

    Sat A200 pro will only boot in safe mode. When trying any other it gets to the windows XP sceen with the rolling bar then after a few seconds the HDD light goes out and the screen goes black. Only way out is to turn off. Have tried system point resto

  • ERROR in ADD-ON conflict phase while upgrading ECC 6.0 system

    Hi all, I am having ECC 6.0 system and am upgrading its SAP-APPL component to 603 patch level 03. I was having SAP-APPL 603 but at patch level 0, i checked for all dependencies and defined the queue in SPAM and it showed all green (OK) for SAP-APPL a

  • Loading Employee information - create_employee API

    Hi all I am in the process of data conversion from old HR system to oracle HRMS. I am loading EMP and EX_EMP person types employees using hr_employee_api.create_employee. All EMP types employee are created without any issue but the ex-employees give

  • My iPhone occasionally starts with the message no sim card, how do I get it recognize the sim?

    My iPhone occasionally starts with the message no sim card, how do I get it recognize the sim?