How can I Dequeue a Single Message

Is it possible to use BPEL to dequeue just a SINGLE message from an MQ - as an activity in a process flow?
It seems that the "Receive" activity drains a queue, and is meant to be used at the beginning of a BPEL process (to kick off a new instance). I'm just trying to dequeue a single message from a specified queue, and access its payload.
Please let me know if this is possible.
Thanks very much.

Consider a scenario where there exists an MQ that contains messages that represent a unit of work. This MQ is populated with messages from an external C++ process that generates these units of work.
I would like to create a BPEL service that can be invoked by a user as a web service. As a part of that process, I would like to dequeue one message (one unit of work from this MQ), to assign to the user. Portions of this message would be mapped to XML elements in the service response.
As a whole, the BPEL process is responsible for performing several other activities (logging work assignment in the database for future reporting, sending email confirmations to the requesting user, etc.). I really appreciate what BPEL offers in terms of the overall orchestration of this process - but I'm wondering if this inability to dequeue a single message is a limitation of the adapters that are offered, or a misunderstanding on my part.
I'm sure I could achieve the same result by embedding some Java code in the process, that would connect to this MQ and dequeue a single message - but would prefer to use an adapter (if possible).
Thanks for the help!

Similar Messages

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • How can I have a single cursor using elements 9 with Windows 7?

    Currently the cursor on my screen is 3 small boxes in place of the single arrow.  I am using Photoshop Elements 9 With Windows 7.  I have loaded the patch files currently in the Adobe system without any success.

    Thank-you that solved the issue.
    In a message dated 4/20/2014 8:57:10 P.M. Eastern Daylight Time, 
    [email protected] writes:
    Re:  How can I have a single cursor using elements 9 with Windows 7? 
    created by Barbara B. (http://forums.adobe.com/people/Barbara+B.)  in 
    Photoshop Elements - View the full  discussion
    (http://forums.adobe.com/message/6315096#6315096)

  • How can I disable RPS error messages in the AS5300 ?

    How can I disable de error message:
    " %RPS-3-MULTFAIL: There is more than one failure with the Redundant Power System; please resolve problems immediately "
    in the AS5300 with RPS Chassis and normal single power supply ?

    If you only have a single power supply,
    I would try swapping it (or swapping
    slots) to verify if it is the problem.

  • When I update my nano ipod I get an error message "User ipod cannot be updated.  The disk couldnot be read from or written to."   How can I overcome this error message.

    In the iTunes window, when I update my nano ipod, I get an error message "User ipod cannot be updated.  The disk could not be read from or written to."   How can I overcome this error message.

    Hello there dilip77707,
    It sounds like you are getting this error message that your iPod cannot be read from or written to when you are trying to update your iPod Nano. I recommend the troubleshooting from the following article to help you get that resolved. Its pretty straight forward, just start at the top and work your way down as needed:
     'Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • How can I view as "single page continuous" in full screen mode?

    how can I view as "single page continuous" in full screen mode?
    preferences->page display:
    preference->accessbility:

    Not possible.

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • How can I restore a single image from an aperture time machine backup, do I have to restore the entire library? that does not make sense

    I hope there has been found a more efficiant solution for this,  how can I restore a single image from an aperture time machine backup, I really hope I don't have to restore the entire library? that does not make sense
    any suggestions?

    Did you try browsing your backups in the Finder ?  That is, do not go and "Enter Time Machine".  Instead, navigate to your Time Machine backup via Finder and then manually go to the time period (by folder name) you are looking for ... when you find your Aperture library you can then "Show Package Contents" and find the Master you are looking for.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • How can I delete a single song from my iPad?

    How can I delete a single song from my iPad?

    Hi lizdance40,
    The first part of your answer worked great, thanks for that!  However, since doing that, there are still songs on the iPad that I want to delete. I place my finger on the song, swipe to the left....and nothing. No red "delete" appears at the right. That used to work on my full size iPad, but not on this mini. I just purchased it last Friday...maybe it's defective?
    Thanks again,
    Sirsheila

  • How can I delete Skype SMS messages from my I-Pad?

    How can I delete Skype SMS messages from my I-Pad?

    This is a user-to-user forum. Everyone here is a volunteer. Sometimes it takes longer than two minutes to get answer. Additionally, it's a support forum for Apple products, not Skype. You might get lucky and get an answer, you might not. While you're waiting, why don't you try Skype support?
    https://support.skype.com/en/

  • How can I retrieve my old messages

    How can I retrieve my old messages for iPhone?

    This article may be helpful:
    How to Retrieve Deleted Text Messages on iPhone

  • How can I create a single order from multiple quotations?

    How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
    Thanks in advance for the answers.

    hi
    Go to transaction: /nva01
    Enter order type : ZOR
    Sale org :xxxx
    Dist.channel:xx
    Division :xx
    Press enter
    Click on “Sale document” and select Create with reference
    Then enter 1st quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation1 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 2nd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation2 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 3rd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation3 copy to order.
    Now save the sale document.
    Kindly give reward points
    Edited by: WISH on Mar 19, 2008 2:25 PM

  • How can i hide a tex message on my screen? i have a 4s?

    how can i hide a tex message on my screen when my phone is locked? i have the 4s

    Settings>Notifications>Messages>View in Lock Screen>OFF
    Message was edited by: The Huntress

  • How can i declare a single radio button field in selection-screen ?

    How can i declare a single radio button field in selection-screen ?

    >
    Rob Burbank wrote:
    > And how will you turn it off once it is turned on??
    >
    > Rob
    Thats correct ;)...See ravi if users will ask so many things its our Job to convay the correct solution ....
    Just post your org requirement..SOo some body guide you better//
    Sas

Maybe you are looking for

  • Anti-virus Software: Norton Anti-virus OR Intego's Virus Barrier?

    Hello all. Let's just assume here that "we need an anti-virus software" and not dwell into the other area of discussion about Macs not needing any, despite the recent 'worms'. Which one would you get, which one is better overall? Norton Anti-virus or

  • How do I remove Norton Antivirus *after* I have installed Lion?

    How do I remove Norton Antivirus *after* I have installed Lion? The Norton uninstaller is a PPC native app and Lion won't run it. Thanks.

  • Invoice Verification - Excess/Over Invoice

    Hi All, We have a client where most of the bills received are either under or excess of PO Quantity & Price. The difference could be from 10 to 100 value. Not in all cases the user would like to do a invoice reduction. Some time he would and sometime

  • Weird Function module call

    Hi All,     I use function module " UBC_USER_GET_BY_EMAIL " to get the SAP user id by supplying the email-id.  This function module works fine if i test it in SE37 but the same is not working from a method in business object for the same data.    Any

  • Real slow bootup

    lately ive been having a slow bootup, it will hang at the following message for about 3 minutes then fail and proceed to boot as normal : Starting Hardware Abstraction Layer Error creating persisant state file: filename ='/var/lib/syslog-ng/syslog-ng