Is there a way to control the number of consumed messages from JMS?

Hi everyone,
I have a BPEL process that is consumes messages from a foreign queue, performs a transformation, and passes it to Oracle Apps. I'm curious if there is a way to control the number of messages consumed at a time for processing.
For example, if we place 50 transactions on this queue, I would like to only consume 10. And then as each one is processed and passed to Oracle Apps, I would like to pull another transaction off the queue. So basically I would only be processing 10 at the most.
The issue I am having is we put 50 on the queue and the 50 are take off right away. But then half are making it into Oracle Apps and the remainder is failing with a JCA Connection Factory max connection error.
Instead of changing the settings to get more through, I am wondering if it's possible to limit the number being processes at any one time.
Thanks

Hi,
Have a look at the adapter.jms.receive.threads Property for JMS Adapter...
http://docs.oracle.com/cd/E21764_01/core.1111/e10108/adapters.htm#BABCGCEC
Cheers,
Vlad

Similar Messages

  • Is there a way to control the number of concurrent SMTP connections on Database Mail?

    Las week Rackspace started controlling the number of concurrent SMTP connections and we are now getting the following message when we send as little as 15 messages at a time using Database Mail:
    Exception Message: Cannot send mails to mail server. (Service not available, closing transmission channel. The server response was: 4.7.0 smtp13.relay.dfw1a.emailsrvr.com Error: too many connections from IP xxx.xxx.xxx.xxx)
    We are using SQL Server 2005 and Windows 2003 and we have been doing this since 2006 with no problems
    Is there a way to control the number of concurrent SMTP connections used by Database Mail or the Database Mail external executable DatabaseMail90.exe?

    Hi rkohler,
    Usually, we can use the Database Mail Configuration Wizard or the Database Mail stored procedures to determine the server name and port number for the Simple Mail Transfer Protocol (SMTP) server . In the SMTP server points, we can set or increase the number
    of concurrent connections.
    There is similar issue about database email on SQL Server 2005, you can refer to the following post.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6bb7b600-f025-451b-898b-2caa29c10d4d/only-some-email-gets-sent-successfully-from-spsenddbmail-database-mail-on-sql-server-2005
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • After right-clicking the Firefox Icon, a window pops up with one of the titles being "Frequent." Web sites are always being added to this section that I do NOT want. Is there a way to control the number of listings under "Frequent?"

    After right clicking the Firefox Icon, a window pops up above the icon with three sections in it. Two are titled, they are "Frequent" and "Tasks."
    The "Frequent" section each time I see it, has added previous sites that I have visited. This list then has lots of duplicates in it. I do not need that, and would like to keep this listing a a favored few.
    Is there a way to stop having superfluous web-sites added to the "Frequent" list ??
    Thanks!

    After right clicking the Firefox Icon, a window pops up above the icon with three sections in it. Two are titled, they are "Frequent" and "Tasks."
    The "Frequent" section each time I see it, has added previous sites that I have visited. This list then has lots of duplicates in it. I do not need that, and would like to keep this listing a a favored few.
    Is there a way to stop having superfluous web-sites added to the "Frequent" list ??
    Thanks!

  • Is there any way to limit the number of RFC calls from xMII to SAP R/3

    Hi All!
    I wanted to know whether the number of simultaneous RFC connections made from xMII to SAP R/3 system can be controlled in any way. Suppose we have a scenario wherein some million Sales Orders or Production Orders are to be updated in SAP R/3 from xMII in a short span of time. For all these updations to take place, multiple RFC calls will be established from xMII to SAP at the same time. This will increase the load on the SAP R/3 system and affect performance of the SAP R/3 system. Is there any check on xMII side to limit the number of RFC calls that can be made to SAP R/3 system?
    Regards
    Anupam

    Anupam,
    If you are using 11.5 just keep in mind that the JCO connection points to a single application server (based upon the SAP Server alias connection settings), but the traffic itself to make a BAPI request is effectively the same as any client user traffic.  There will obviously be limitations on performance and throughput, with network and server constraints added to the number and size of the R/3 requests, but there is no magic formula to plug-in because of all of these variables.
    If you are using 12.0 (or plan to migrate when it goes GA) then taking advantage of the JRA (java resource adapter) and the associated application server pooling that it offers on the NetWeaver side of things will greatly help you in the throughput capacity.
    If you have put some of your xMII application into either test or productive use and are running into issues then I would highly recommend entering the specifics into the customer / partner support portal so that they can help you through any associated problems.
    Regards,
    Jeremy Good

  • Is there any way to control the volume on my Apple TV?

    Here's the scenario: I have a small amplifier under my couch that controls the speakers connected to my Apple TV. When I use Airplay from my iPhone to listen to music, I'm able to control the volume right from the music App on my phone- this is perfect because I don't like to reach under the couch to change the volume. However, there are two scenarios when I cannot seem to adjust the volume anywhere except on the amp. These are:
    First: Using Airplay while playing a video from my MacBook Pro to the Apple TV. In this case, the volume slider in iTunes suddenly has a little lock icon on it and is unadjustable. Is there any way to unlock the volume?
    Second: When using the Apple TV directly to play any media- music or movies. The volume up and down buttons on the Apple TV don't control the volume. I'm forced to reach under the couch to adjust the volume- which happens quite frequently. Is there any way to control the output volume of the Apple TV?
    The lack of volume control has been super disappointing. I've been a (multiple) airport express user for years so kind of expected Airplay to work the same for video- with the ability to control the volume from whatever device was transmitting. Can anyone help me?

    Andrew- this is how I would expect things to work. However, when I use airplay from my iPhone to say, play a youtube video, the volume on the phone is suddenly rendered useless and I'm forced to adjust the amplifier. When I just play audio from the phone, the volume works.
    It's the same on my macbook pro. If I mirror the screen, my computer's volume affects the speakers volume. However, if I am in itunes and play a movie and use airplay for that, I get a lock on the volume. Is this a setting somewhere?

  • Is there a way to control the quality of my pdf file when exporting from a .pse file?

    Is there a way to control the quality of my pdf file when exporting from a .pse file?
    Hi,
    I have 2 pages in all in a .PSE file.
    When I try to export it as .PDF, the quality is very poor. I cannot change it to a better quality.
    Please advise how I can export the file so that i can have better quality.

    Rik Ramsay wrote:
    To expand a little on what Jongware said, normally choosing vector over bitmap will decrease the filesize. If the vector art is very complex though, this will not be true.
    Yup, a logo as bitmap takes up more space than the same as a vector -- unless the vector image is bitmap heavy (think Drop Shadow, Outline Glow; these are actually bitmap effects).
    Also, check your PDF version. "Older" versions do not support live transparency, the latest do. Then again, you cannot use live transparency if you suspect your viewers may be using Mac OS X, because Apple's own PDF viewer sucks big time.

  • Is there a way to increase the number of layers in PS touch for iPad? Can Adobe do something about this?

    Is there a way to increase the number of layers in PS touch for iPad? Can Adobe do something about this?  I have been using PS touch for iPad for a few years and ALWAYS end up with a message that I have reached the maximum allowable number of layers.  not to mention of course a simple tool for drawing straight lines which is a must.  I may be missing something.  I would have imagined that a respectable company like Adobe would have added over the years a small upgrade to solve these issues.
    thanks. 

    Hi Patrick,
    I'm working on a 30" monitor, so it's effectively 2560x1600.  It only seems to be showing 2 tracks at a time, unless there is a preference or setting I'm missing that I can't seem to find in the documentation.  Here is a screenshot:
    I don't see any areas for expanding the timeline.  I can scroll vertically in the timeline, but I can't seem to actually get a larger static vertical area for showing more tracks at once.  The only vertical resizing widget is to expand the bottom or top panels, not the timeline.
    Thanks,
    Jason

  • Is there a way to find the number of downloads of music from itunes store?

    Hi,
    Is there any way to find the number of downloads of each music file available on itunes store. If not exact no of downloads but atleast a relative term to find the rank of the music track From any API
    Thanks
    Sandeep

    A: Is there a way to read the number of active sequence executions from the Engine?

    Scott,
    > One way of handling the issue of init once a set of instruments is to
    > create a new sequence file that has a sequence to init and a sequence
    > to close the instruments. Assuming that you always terminate a
    > sequence and do not abort them, you could add a ProcessSetup and
    > ProcessCleanup callback sequences to the client sequence file that
    > using these instruments. These callbacks are automatically called by
    > the process model in both the Single Pass and Test UUTs execution
    > entry points. The callback sequences could call the init and close
    > sequences for the hardware. In the hardware sequence file you could
    > reference count the number of execution that init and close by setting
    > the file globals in the sequence file to be shared across executions
    > and then add a numeric value that keeps track of references for the
    > instruments. The init sequence adds to the count, and the close
    > sequence subtracts from the count. The init sequence inits the HW if
    > the count is 0->1 and the close sequence closes the HW if the count is
    > 1->0.
    >
    > This is one of many ways in TestStand that this could be done, not to
    > mention that this could also be done in a similar way in a LabVIEW VI
    > or DLL directly.
    That sounds like it will work. I'll try adding a client count
    increment/decrement in the DLL initialize and terminate functions. This
    should essentially perform the same tasks as the callback scheme you mention
    above, no?
    The reason I didn't think the 'client counting' scheme would work initially
    was I mistakenly thought that the termination function would not get called
    under Terminate conditions. Since Terminate conditions happen a LOT during
    our initial debug of new UUT types, I didn't think that would be acceptable.
    I forgot that lacing the terminate funciton in a cleanup step group, I can
    force it to be called in Terminate conditions.
    > If you abort an execution then the reference counting idea above would
    > fail to decrement properly. That might b... [Show more]

    Read other 5 answers

  • Is there any way to limit the number of Threads running in Application(JVM)

    Hello all,
    is there any way to limit the number of Threads running in Application(JVM)?
    how to ensure that only 100 Threads are running in an Application?
    Thanks
    Mohamed Javeed

    You should definitely use a thread pool for this. You can specify maximum number of threads that can be run. Be note that the thread pool will only limit the number of threads that are submitted to it. So donot call "Thread"s start() method to start thread on your own. Submit it to the pool. To know more, study about executor service and thread pool creation. Actually it will not be more than 20 line code for a class and you might need maximum of 2 such classes, one for threadPool and other one for rejection handler (if you want).
    Just choose the queue used carefully, you just have to pass it as a parameter to the pool.
    You should use "Bounded" queue for limiting threads, but also be careful in using queues like SynchronizedQueue as the queue will execute immediately the threads submitted to it if maximum number of threads have not been running. Otherwise it will reject it and you should use rejection handler. So if your pool has a synchronized queue of size 100, if you submit 101th thread, it will be rejected and is not executed.
    If you want some kind of waiting mechanism, use something like LinkedBlockingQueue. What this will do is even if you want 100 threads, you can specify the queue's size to be 1000, so that you can submit 1000 threads, only 100 will run at a time and the remaining will wait in the queue. They will be executed when each thread already executing will complete. Rejection occurs only when the queue oveflows.

  • My iphone is stolen .. is there any way to know the numbe of the person going to use in the future .. I have the serial no. and every thing .. and it is registered under my name and my information with iTunes ??

    my iphone is stolen .. is there any way to know the numbe of the person going to use in the future .. I have the serial no. and every thing .. and it is registered under my name and my information with iTunes ??

    If you had find my iphone activated on the iphone itself before it was stolen, then you may be able to track it.
    Otherwise, there is nothing you can do.
    Sorry.
    Report it to the police and your wireless carrier and change your password.

  • Is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages?

    is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages? A different App perhaps?

    Isn't that you asking how to get it (undefined) back?
    If you never had Pages '09, you can buy it from Amazon very cheaply:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&sid=f68e84cd2ec6 123bd2ed93806c7e7fb6&mforum=iworktipsntrick
    Peter

  • Is there any way to get the query used in discoverer from backend??

    Hi All,
    I am new to dicoverer.
    Is there any way to get the query used in discoverer from backend??
    Thanks,
    Sachin

    Hi,
    you can view the SQL from within the discoverer menu:
    in desktop: View-> SQL Inspector
    in Plus: Tools-> Show SQL
    The SQL in the DB tables is encrypted so it's a problem getting it from there.
    You can export the workbook into SQL but it is not working for every worksheet (subquery, inline pivot tables...)
    you can create a batch file to export them all using the output of this script:
    select null,null,'echo off'
    from dual
    union all
    select distinct
    qs.qs_doc_name Workbook_name,
    qs.qs_doc_details Worksheet_Name,
    'start /wait <path>\dis51usr.exe /connect '||'&p_user_name'||'/'||'&p_password'||'@'||'&p_env'||' /apps_user /apps_responsibility "&responsibility" /opendb '||
    chr(34)||qs.qs_doc_name||chr(34)||' /sheet "'||qs.qs_doc_details||'"'||' /export SQL "C:\Export Discoverer SQL\'||qs.qs_doc_name||'-'||qs.qs_doc_details||'.sql" /batch'
    from eul_us.eul5_qpp_stats qs
    where qs.qs_doc_name is not null
    --order by 1,2
    union all
    select null,null,'echo off'
    from dual
    union all
    select null,null,'exit'
    from dual

  • My iCloud backup from my old phone shows incomplete is there a way to retrieve the data that I backup from my old phone even if it didn't complete . They told me that they would let if finish when I traded in my old phone. I want to restore it to new phon

    My iCloud backup from my old phone shows incomplete is there a way to retrieve the data that I backup from my old phone even if it didn't complete . They told me that they would let if finish when I traded in my old phone. I want to restore it to new phone. Even if it didn't complete how to I restore the 5 g that did backup

    Unfortunately you can't restore an incomplete backup.

  • Is there any way i can transfer all my SMS messages from my 3GS to my 4 ?

    is there any way i can transfer all my SMS messages from my 3GS to my 4 ?

    Use iTunes to backup files from your old ipod first then transfer to the new iPod. Please
    follow the steps in How to transfer your backup from one iOS device to a new device.   By the way, if you don't have the iTunes, you can use this iPhone transfer program. It help you to transfer sms and contacts from iPhone.
    Hope it helps.
    You can use http://www.google.com to search more

  • Is there any way to limit the number of times that a PDF can be opened?

    I run a small publishing company and we want to provide exam copies of our books to professors.  At present our exam copies have the words EXAM COPY as a water mark on every page and we've also made the files so that they can't be printed or easily copied.  However, we'd like to also restrict these PDFs so that they can only be opened 5 times.  I've read about FileOpen but that approach seems a bit more complex than needed.  Is there any other way to restrict the number of times that a PDF file can be opened once it is downloaded?  Thanks in advance for any suggestions.

    DRM soltions like FileOpen are your best bet for PDFs. Others include Adobe's LiveCycle Rights Managment, LockLizard, Armjisoft PDF Security OwnerGuard, etc.
    They all work and are priced differently, but there's really nothing for what you want to do that is both simpler and secure.

Maybe you are looking for

  • "The key 'LocalizedPerfCounter' does not exist in the appSettings" when creating Socket

    Hi all, Some time ago, I've installed the nuGet package for self-hosted signalR applications on a project. Today, I went to start a completely unrelated project, one that does not have that package (or any package at all), and has absolutely nothing

  • Desperate -- Can't anyone have phone support anymore?

    My problem is special, immediate and can probably only be resolved by actually talking to someone. Yeah, I know, who wants to do that anymore, right? I spent a couple of hours making a calendar in iPhoto and was completely satisfied with what I saw.

  • Bridge keywords not working ....

    I have recently upgraded to Photoshop Cs5 / Bridge CS4. As part of this u/g my system seems to have lost the keywords that were added in the older version. I cannot find the .plist file which is where i think this information is held. How can I ask B

  • Webservice with BasicAuthentication

    Hi has someone ever used a Webservice with BasicAuthentication where the credentials have been set from the program rather than from the login popup? How has the header to be set? Thanks

  • Copy an accordian menu

    is it possible to copy an accordian menu onto a new page, i would just save it as a new page but I want to change the language of the menu and therefor the template for the other page is completely different. So I would like to copy the english menu


HashFlare