WLI Process only execute one at a time

Hi Guys,
I am new to WLI, and have what could be a simple question:
I have a seperate java program that puts messages one by one in sequence onto a JMS queue.
I have built a channel and a JPD that subscribes to this channel. The purpose of the JPD is to take the message from the incoming JMS queue, perform some adhoc functionality, and then return the message to a different outgoing JMS queue.
This works fine, however how do I ensure that only one JPD process is executed in full, before another is started.
e.g of problem: if a really big message is put onto the incoming JMS queue, it might take 10seconds to process, but in that time another message (small) is put onto the incoming queue. This means that another process instance kicks off, and that the second message is put onto the outgoing queue FIRST because it takes less time to process.
How do I ensure that the JPD process only executes once in full, at a time?
At the moment, the JPD has "stateless" set to false.
Any help would be greatly appreciated.
Regards.

I think if you follow a similar technique as outlined in http://edocs.bea.com/workshop/docs81/doc/en/integration/samples/sampleSuppressible.html?skipReload=true then it should work. The key points are to have a synchronous subscription to a MB channel, performing all your processing within this block, and to set the JMS event generator pool size to 1.

Similar Messages

  • SetSelectedValue() on Radio Button only executes one time in Design Studio 1.2

    Using Design Studio 1.2 - I've placed an image on our dashboard that acts as refresh button.  When the image is clicked, two radio buttons on the screen should get reset to their default values.  The code only executes properly the first time, and any subsequent try does nothing.  Does anyone know why this might be happening?
    Step 1. Place the image on the screen
    Step 2. Add code to On Click event to change values of two Radio Buttons: RB_ORG_LEVEL and RB_YEAR.
    Step 3. Change values in both Radio Buttons to any value but their default value. 
    Step 4. Click the refresh image the first time, and both values get set back to their default values ("Entire Org" and "Current Year").
    Step 5. Click the refresh image the second time, and even though the code programmatically sets them to their default values ("Entire Org" and "Current Year"), the change doesn't occur. 

    Could you try this again with the latest Design Studio 1.2 SP2 ?  See http://service.sap.com/sap/support/notes/1962767

  • I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I did it again. Now it will not run and I get an error message saying that firefox is running and you can only run one at a time. I can't figure out what is running.

    Because of a problem, I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I uninstalled/reinstalled it again. Now it will not run. I get an error message saying that firefox is running and you can only run one at a time. I have uninstalled multiple times and can't figure out what is running. The is only one Firefox installed and it is not open. What does this mean and how do I fix it?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • How do I delete more than one email at a time on Mavericks?  I can only do one at a time.

    How do I delete groups of emails with Mavericks?  I can only delete one at a time.

    Select the first one then click on the last one with the shight key depressed to select then all then delete.
    Allan

  • I've purchased cartoon tv shows for my iPad. Prior to the new updates, I could play one at a time or continous. Now I can only play one at a time. It's annoying to keep changing it every five or six minutes. Is there a fix to get it back playing continous

    I've purchased cartoon tv shows for my iPad. Prior to the new updates, I could play one at a time or continous. Now I can only play one at a time. It's annoying to keep changing it every five or six minutes. Is there a fix to get it back playing continous

    Use this feedback form and tell apple. http://www.apple.com/feedback/ipad.html

  • 2 atv's both have home sharing enabled but one asks to turn on home sharing on my pc but it is on so can only use one at a time to watch movies from my computer

    2 atv's both have home sharing enabled but one asks to turn on home sharing on my pc, but it is enabled on pc so I  can only use one at a time to watch movies from my computer

    Both atv,s are on the same network, they are wirless and the computer can see them and they are named different.
    what ever one i switch on first gets to stream from my computer and the other one asks for home sharing to be switched on, then if i switch both off and start the other one first it gets to stream and the other one which worked asks for home sharing to be turned on. i have hidden all functionality, netflix etc as these are for my 7yr old kids.

  • I have music in the cloud but only plays one at a time, anyone have any idea how to solve this please?

    I have music in the cloud but only plays one at a time, anyone have any idea how to solve this please?

    - Transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    Copy music from Ipod to new computer...: Apple Support Communities
    You may have t opurchase one.  Some only do a limited number of transfers without paying.
    - Make a backup of yur iPod by connecting the iPod to the computer and right clicking on the iPod under devices in iTunes and selecing Backup.
    - Restore the iPod from that backup.

  • Processing JMS messages one at a time

    Hi, I'm on a project where we're trying to synch Siebel and EBS Customer information. However there are certain events that can trigger Customer data being sent twice simultaneously; this produces problematic racing conditions when the Customer data is new to the receiving system.
    We're trying to throttle that by sending the messages to a JMS queue and process them one at a time, ie, we only want one instance of the JMS queue listener activated at any one time (we don't expect continuous load; mainly small bursts). Unfortunately I'm not sure which properties have to be changed to do this. I have created a JMS listener that consumes message, pretty much created by the adapter wizard. Currently the listener is spawning new instances just as fast as the messages come in causing EBS AppAdapter errors (can't create new Customer as it already exists).
    Here's the JMS operation definition:
    <pc:inbound_binding />
    <operation name="Consume_Message">
    <jca:operation
    ActivationSpec="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec"
    DestinationName="jms/CustomerInterface"
    UseMessageListener="false"
    PayloadType="TextMessage"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
    </input>
    </operation>
    </binding>
    This is the activation agent:
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="ReceiveAccountJmsAdapter">
    <property name="portType">Consume_Message_ptt</property>
    </activationAgent>
    </activationAgents>
    This is the connector-factory:
         <connector-factory location="eis/CustomerInterface" connector-name="Jms Adapter">
              <config-property name="connectionFactoryLocation" value="jms/Queue/CustomerInterface"/>
              <config-property name="factoryProperties" value=""/>
              <config-property name="acknowledgeMode" value="AUTO_ACKNOWLEDGE"/>
              <config-property name="isTopic" value="false"/>
              <config-property name="isTransacted" value="false"/>
              <config-property name="username" value="oc4jadmin"/>
              <config-property name="password" value="********"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    What else will I have to do to get this to work? Or will I be forced to deploy it to it's own BPEL domain where dspMaxThreads and dspMinThreads are set to 1?
    -- Just tried to put it on its own domain and change the dspMaxThreads/dspMinThreads and that didn't work.
    - Dale
    Message was edited by:
    Dale Earnest

    Hi Al,
    Yes - it possible.
    Please read the section Describing Message Ordering of the Adapter Life-Cycle Management of the Application Server Adapter Concepts Guide found here: http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b31005/life_cycle.htm#BABJIFJI
    Best regards
    Christian Damsgaard

  • My Itunes will load on Apple TV and play, but only plays one song at a time.  It will not shuffle or continuously play an album.  All of the songs display, but will only play one at a time...home sharing is on.  Any suggestions?

    My Itunes info will load onto Apple TV, but will only play one song at a time of my music.  Home sharing is on, airplay is on, router info has been reset.  What am I missing?  It has never done this before....

    My Itunes info will load onto Apple TV, but will only play one song at a time of my music.  Home sharing is on, airplay is on, router info has been reset.  What am I missing?  It has never done this before....

  • Songs will only play one at a time

    After updating iTunes, using the last update 7.6.2, it will only play one song at a time and stops. It will not play continuously through a playlist. Am I missing something in the setting? Any suggestions?

    Are there check marks beside all the songs in the playlist? Unchecked songs have to be clicked on individually to play them, checked songs will play one after the other. If you hold down the CRTL key and click beside any song in your list then all the check boxes can be toggled on or off: iTunes - Keyboard Shortcuts for Windows

  • I would like to send multiable photos by email ,at the moment i can only send one at a time  thanks

    Hello ,I would like to send multitable photos by Email . at the moment i seem to only be able to send them one at a time  thank you marie

    I do not see an issue here ....just add a submit by email button at the end of each section and enter the email address that you want in each.

  • Podcasts in a playlist only play one at a time instead of in seq

    I just got a 6G nano iPod.
    I have smart playlists that include my favorite podcasts in reverse time sequence.
    When I play from this list, only one episode at a time will play.  After the episode completes then the iPod goes back to the playlist where you can manually select the next podcast.
    This works fine on my 3 or 4 G (I don't know which it is) nano.
    I want to play all the podcasts in the playlist one-after-the-other without stopping playback.

    I have smart playlists which have Media type "Podcast" and Play Count = 0.  These playlists were only playing one song at a time.
    The solution that I found to the problem was to
    connect ipod
    goto ipod in devices
    select podcasts
    select sync podcasts
    DON'T SELECT AUTOMATICALLY INCLUDE ALL EPISODES OF ALL PODCASTS
    Scroll down to Include Episodes from Playlists
    Then select all the smart playlists that include ipod episodes.
    This means those playlists are copied to the ipod and they play in order.
    It doesn't seem to matter whether or not the playlist is selected as well under the Music tab.

  • AirPlay and 2 apple tvs (streaming only to one at a time) - possible?

    Very brief question.
    I am thinking of getting two Apple TVs - one for the liing room and one for the bedroom, with a view to streaming any films etc i have on my iMac to the device.
    I've googled and can't find any reference to whether 2 apple tvs is possible - i.e. does the iMac show 2 devices and i can choose which to stream to?
    I'm aware that i can't stream to both devices at the same time.
    So in short, am i able to setup 2 apple tvs and decide which to stream my movies to?
    Cheers!

    It's more or less been said already, but when you don't already have an Apple tv, streaming terminology can be a little difficult to grasp.
    There are two ways to stream content to the Apple tv. You can initiate the stream from the iMac or from the Apple tv.
    If you choose to initiate the stream from the iMac (Airplay) you can only stream one item at a time.
    If you initiate from the Apple tv you can simultaneously stream different (or indeed the same content) at the same time to different Apple tvs.

  • Why does my iphone only send one picture multiple times when i select multiple photos to send?

    why does my iphone send one picture multiple times when i select multiple photos to send (via message or email)?

    Are you sending via Camera itself?
    That is, selecting a picture, then select forward link symbol from bottom left
    then select another picture,
    Each time make sure you see the blue check mark at bottom right of each selected picture.
    The number of " # Photos Selected" should be displayed at the top.
    Then select Mail or Message and transmit.

  • Slow VF04 Process Only on One Company Code

    We have 5 company codes on our system. Last month we create new company code. No problem in Devevelopment or QA Server.
    However, when we transporteded this new company code configuration to Production server, we got VF04 problem.
    VF04 very slow for only one company code (existing company code), it took more than 30 minutes for 1 plant and 1 business date (normally it took about 1-3 minutes for 1 plant).
    The longest time in this process in SM50 is "Sequential Read on CE4xxxx table". What could we do to check why VF04 on existing company code is very slow while in other company codes (including the new one) running normally.
    Thank you so much.

    If the two notes are not applicable, then have a look at this
    Note 1996268 - Performance problem while generating billing documents using VF04    
    If this is also not the root cause for the issue you are facing, then share the following note to your Security team as I already indicated and ask them to follow the steps listed out in this note as this is purely technical related issue and not a functional related issue.
    Note 841758 - Procedure when you experience performance problems
    G. Lakshmipathi

Maybe you are looking for

  • Why won't Aniweather load to browser 5.0 upgrade?

    Aniweather will not load onto 5.0 upgrade. I also received a "confirm this question" e-mail with a link that takes me to "we are having a problem" screen. I clicked on the link you provided and that is what it did..here's the link: https://support.mo

  • Content Server Configuration issue

    Hi Gurus I am working on Content server configuration. Installed Content server (640 build 201 ) on Win 2003 server - Using SAP ECC 5.0 - This is initially our test environment so here we are not using any certificates I am facing issue with TXN (si2

  • Why does Indesign change the print driver?

    When I go into the print dialog and click on "setup" to go to the Minolta Bizhub C450 print driver, I find that the items that I have changed (like collate, double sided, grayscale, the list goes on) have been changed back to the original setting. Wh

  • SCCM 2012 Client.msi Fails

    I am able to install the SCCM client on many machines, but two machines are failing.  First I looked in ccmsetup.log: <![LOG[File C:\Windows\ccmsetup\{59A0EA77-D28C-4286-83A6-04BB57B9CDD6}\client.msi installation failed. Error text: ExitCode: 1603 Ac

  • Cannot access a website, from one interface, that is hosted behind a different interface; on same appliance

    Hello, I’m working with a network that has been setup with a wireless interface for wifi, an inside interface for a staff lan and of course the outside interface. There is a webserver hosting a website on the inside of the staff network/subnet. For t