How to Get One MQ Message at a time from MQ Queue

Hi,
Before posting my query here is the configuration I am using:_
Weblogic Server 10.3.3
Soa Server 11.1.1.3.0
Oracle JDeveloper 11.1.1.3.0
Till now I have done the following things:_
1) created an MQ Queue
2) Producing MQ Messages in the Queue with the help of an Asynchronous BPEL process.
I can see the message put in the Queue:
What is my requirement?_
1) I want to read (Get) only one of the above created MQ Messages in the main BPEL process(Synchronous), then needs to process it
And based on my Business condition I have to write that message in the Database.
After successful completion of this instance only my main process should go to consume the next message in the MQ queue.
What is the problem I am facing?_
1) The main BPEL process is not reading one message at a time. I.e. if there are 10 messages in the queue, then as soon as the main bpel process gets deployed, 10 instances created automatically, all in running status and Queue gets empty
2) And if I explicitly test the process, the processes always go in running mode. I.e. Waiting for the messages at the receive activity (this receive is attached to the MQ adapter through operation Get in the main BPEl process)
I just want to know how I can read the MQ messages one by one, though there may be n number of messages in the MQ queue
And only after the completion of the first instance (of Reading First MQ message from queue) it would go to initiate the next instance and so on
Would anyone please help me in this issue?
Thanks
Sunil

Is the MQ Queue local or remote?

Similar Messages

  • How to play one specific album at a time from the Artist tab.

    In regards to 5th gen iPod Touches: I'm wondering if I can play just one album at a time (not all the songs by an artist) via the Artist tab. The only way I have found to do this is Artist>Click on a song in the album I want to listen to (At this point, ALL songs from the artist will be selected for playing)>Click on the album's song listing on the top right>click on another song in the album. This is very inconvenient and was not at all like this on my older iPod Touch. Any help would be great!

    Is the MQ Queue local or remote?

  • How to get one of my clippings (pictures) into my e mail message?

    I am a new user of Thunderbird, Mozilla's e mail program. When I compose a new email, I sometimes like to add a clipping, from my clipping file. I hit attach and my clippings appear. I highlight the one I want to put in my email, and try to drag it from the clippings list into the email like I did in my former e mail program, but now the dragging does not work, When I am in email, the image will not drop. so my question is, how to get one of my pictures into my email message I am composing? Hope someone can tell me how to do this :) Thank you :)

    Hi Joshiss, Thanks for trying to solve my problem. I have neither windows or linux, I have an iMac (Apple/MacIntosh) computer with operating system 10.9.2 . I did notice that my clippings file transferred for easy access on
    Thunderbird e mail, when opened says windows in the right column But when I go to my ORIGINAL CLIPPINGS SOURCE in another file on this new
    computer, from there I can still drag my choice into the current e mail I am
    composing. But getting to that original source where my clippings are , takes quite a few steps. Is there any means to shorten the process and be able to drag / or otherwise get a clipping into my email window? Also, once a clipping is selected, where do I indicate that this is the one I want to use????? Thanks for your help.

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • How to get custom defined messages in WAD

    Hi
    can you please help me how to get customized error messages in WAD.
    While I'm executing in RSRT the customer exit variable throws error message saying that 'No Sales orders exist for this Sold_To Party' but when I execute same query using Bex WAD, then no error message throwing for me for given sold_to party. I tried with all options as given in below code, but WAD gives me system error that "No values found for the customer exit variable 'Zxxxx'. Please help me in this regard. Should I do any settings in WAD to get custom defined messages. Kindly let me know
    my code is as below
    I_STEP = 2.
    CASE i_vnam.
    WHEN 'Custome exit variable'.
    IF sy-subrc = 0.
    ELSE.
                   MESSAGE e060(/bmc/bw).  "No Authorization exist
                    g_errflag1 = 'X'.
                   exit.
                   CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                      EXPORTING
                        i_class  = '/bmc/bw'
                        i_type   = c_e                                    "'E'
                        i_number = '061'
                        i_msgv2  = l_msgv2.
                         RAISE NO_REPLACEMENT.
                    l_s_range-low = g_soldto.
              l_s_range-sign = c_sign_i.
              l_s_range-opt  = c_range_opt_eq.
              APPEND l_s_range TO e_t_range.
    ENDIF.
    I_STEP = 3.
      READ TABLE i_t_var_range INTO w_s_var_range
                  WITH KEY vnam = 'customer exit variabel'.
      IF sy-subrc = 0.
    Check the flag and throw message 'No Sales orders'.
        IF g_errflag1 = 'X'.
          l_msgv1     = 'No Sales orders'.
    Call the FM to populate message
          CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
            EXPORTING
              i_class  = c_r9
              i_type   = c_e                                    "'E'
              i_number = c_000
              i_msgv1  = l_msgv1
            EXCEPTIONS
              dummy    = 0
              OTHERS   = 0.
         CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
         CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
          RAISE NO_REPLACEMENT..
        ENDIF.
    Thanks & Regards
    silu

    Hi
    Custom Messages WAD

  • How to get the Error message from hr_contact_rel_api.create_contact

    Hello All,
    I am using this API for creating a contact for an employee in R12.
    But, some times i am not able to create the contact successfully, and Unable to figure out proper reason for record erroring out.
    I dont find any out msg data variables for this API in order to check it for the Error.
    So, can any body help me how to get the ERROR Message for such APIs.
    Thanks inAdvance,
    Amarnadh Js

    user12243334 wrote:
    solved the issue on myselfIt would be nice if you could share the solution with us.
    Thanks,
    Hussein

  • If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

    If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

    If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

  • Have a Canon 70D.  Lightroom will not recognize the raw CR2 file.  Don't know if I need an additional plug in or how to get one. Can anyone help?

    I have a  Canon 70 D. Lightroom will not recognize the raw CR2 file.  Don;t know if I need an additional plug in to the tether plug in for canon, or how to get one.  Can anyone help?

    See Camera Raw plug-in | Supported cameras
    You need Lightroom 5.2 or later. Which version of Lightroom are you running?

  • Delete only one text message at a time w/o deleting entire conversation?

    Does anyone know how to delete only one text message at a time without having to delete the entire conversation? The only two options I get are "clear conversation" or "cancel."
    HP   Windows XP  

    That's the same option I get too. It seems to me I recall seeing somewhere that you could delete individual messages in a thread but I don't remember where.
    It seems silly to limit deletions to only the entire conversation since with most phones you can delete individual messages.

  • Getting one character at a certain position from a string array

    Hi, i'm new at learning java, but have strong experience at C++ and asm. How would i get one character at a certain positon from a string array.
    for example:
    String Phrases[] = {"To be or not to be, that is the question","The Simpsons","The Mole","Terminator three rise of the machines","The matrix"};
    that is my string array above.
    lets say i wanted to get the first character from the first element of the array which is "T", how would i get this

    ok well that didn't work, but i found getChars function can do what i want. One problem, how do i check the contents of char array defined as char Inchar[];

  • How to get the form reference in .js page from .jsp page

    hi
    i have written one form in jsp page omething like:-
    <html:form action="/shopping" onsubmit="return false;">
    can anybody tell me,how to get the form reference in .js page from .jsp page ,
    i have tried:-
    var formRef = document.forms[0];
    butits not working.
    Thanks.

    Its very simple......y cant u prefer google...Bad
    c this example...
    function submit()
    alert("textbox"+ document.forms[0].name.value);//to get textbox value in js
    document.forms[0].submit();//to submit jsp page using js
    <html:html>
    <html:form action="/shopping" onsubmit="submit()">
    <html:text property=name>
    learn to search in google..
    </html:form>
    </html:html>

  • How to get the first day in the month from a domain date ?

    Hi,
    I like to know how to get the first day in the month from a domain date?
    Thanks
    Stephen

    Hi Gokul...
    Instead of using the funtion module you can just write the 3 statements of code to get the first day of the week.
    Its similar to the above one but instead of writing case statement you can achive the following.
    data : w_res type i,
             w_data type d,
    w_res = w_date mod 7.
    w_date = w_date - w_res.
    write w_date.
    This works.
    Regards,
    Siddarth

  • On iphone 4 how do i block text messages that are coming from an email account?

    on iphone 4 how do i block text messages that are coming from an email account?

    There is no way to block text messages.  You may wish to report them to your carrier

  • I deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown

  • Can you delete one test message at a time?

    so can you delete one text message at a time??

    Hey italiangirl2009,
    No. You can clear the entire conversation or delete the conversation.
    You can request that feature added online here:
    http://www.apple.com/feedback/iphone.html
    Jason

Maybe you are looking for

  • How do I combine an old account with a new one on iTunes?

    I have 2 email accounts set up with itunes.  My first email account was hacked and I had to create a new account.  How do I combine the songs listed under my old address with the songs listed under my new email address?

  • Computer in one room, TV in annot

    Hello All Hope your nice & friendly here & tolerate eedgiots like me! I have the SB040 24 bit li've soundcard installed. I want to be able to listen to stereo sound here in the computer room, & in my living room watch the TV shows I've recorded, also

  • Trying to find a decent service provider

    I bought a used iPhone 5 from a friend. Prior to my acquisition of it, it had been used on AT&T. I activated it on T-Mobile, but am not happy with their service. I run out of my very low data cap about halfway through the month, almost any time I lea

  • PP CS4 - No MPEG export?

    I have Windows XP SP3, 2 gigs of RAM, 3.5Ghz processor, NVIDIA 8800GTS video. I don't have any issues regarding error messages, etc. First, I downloaded Adobe Premiere Pro CS4 trial. I did a full install with every option selected (installed Bridge,

  • Good OO design

    Hi all ... I want to build a System in java but I can't find a good design for my classes and how to seperate it into packges for example : The menu bar ... class MyMenuBar extends JMenuBar JMenu file .... JMenu edit .... public MyMenuBar(){ // set a