Can Rejected Messages to put back in the AQ?

Hi,
I am using version 10.1.3.3.
I am trying to figure out a way to put rejected messages back in on the AQ. I have looked at the AQMessagesRejectionHandler sample. The sample contains the following code in the bpel.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
- <BPELSuitcase>
- <BPELProcess id="AQMessageRejectionHandler" src="AQMessageRejectionHandler.bpel">
- <partnerLinkBindings>
- <partnerLinkBinding name="Dequeue">
<property name="wsdlLocation">Dequeue.wsdl</property>
</partnerLinkBinding>
- <partnerLinkBinding name="Enqueue">
<property name="wsdlLocation">Enqueue.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
- <activationAgents>
- <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="Dequeue">
<property name="portType">Dequeue_ptt</property>
<property name="rejectedMessageHandlers">file://C:\product\10.1.3.1\OraBPEL\bpel/samples/tutorials/124.AQAdapter/AQMessageRejectionHandler/rejected queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages</property>
</activationAgent>
</activationAgents>
</BPELProcess>
</BPELSuitcase>
In the Oracle® Adapters for Files, FTP, Databases, and Enterprise Messaging User’s Guide (10g Release 2 (10.1.2.)) I found the following documentation:
<BPELSuitcase>
<BPELProcess src="ErrorTest.bpel" id="ErrorTest">
<activationAgents>
<activationAgent
className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent"
partnerLink="inboundPL">
<property name="rejectedMessageHandlers">
file://C:/orabpel/samples/test/errorTest/rejectedMessages
</property>
My question is regarding the function of the line (in the sample):
queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages
Does this put the messages back on the AQ?
If so, how do I change the path to my own queue?
I am new to BPEL so please be as specific as possible.
Thank you in advance

Hi,
Thank you for the response.
Yes, you are right.
My problem was one of using correct syntax.
This is what I ended up with:
<activationAgents>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="BusinessEventService">
<property name="portType">Consume_Message_ptt</property>
<property name="rejectedMessageHandlers">queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages</property>
</activationAgent>
</activationAgents>
It seems to be working.

Similar Messages

  • TBridge limitations: when there is an error, the message is put back in the source QSPACE

    The "WebLogic Tuxedo Connector Administration Guide" (BEA WLS 6.1, December 19, 2001)
    Chapter 5: "Configuring tBridge",
    last section: "Limitations"
    mentions: "when there is an error, the message is put back in the source QSPACE.
    Assuming the QSPACE is corrupted or full, subsequent messages would be lost."
    QUESTION: will be this limitation
    (a single message having permanent errors will stay forever in the head of the fifo
    queue -->
    resulting in QSPACE full --> reulting in loss of all messages)
    be solved in a future version ?
    If YES, WHEN ?
    thank you
    Justin

    See:
    * [[Cannot log in to websites]]
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • I accidentally removed the trash can from the dock. Where do I find the trash app to put back on the dock

    I accidently removed the trash can from the dock. Where do I find the trash app to put back on the dock?

    I know this is pretty old but I wanted to add this for anyone else who might come across this thread.
    I have PathFinder on my system and there is an option to add the "Remove from Dock" contextual menu items to the Finder and Trash. I accidetally removed the Trash icon, and to get it back do this:
    1. Open Terminal.app from the "Utilities" folder in the main Applications folder. Or simply open Launchpad or Spotlight and start typing Terminal.
    2. Copy and paste the below command exactly, be very careful with Terminal as it can cause terminal damage to your computer if used incorrectly.
    killall Dock
    Your Desktop background may flash and the Dock will disappear and will repear after a short pause.
    You should now have your Finder and Trash icons back.
    Hope this helps,
    xeni

  • Timeout before connections are put back in the pool ?

    Hi,
    I am running a test with a single client : the test client send a requests,
    wait for the response and when it gets it send another request and so on.
    Looking at the connection pool, I can see that up to 8 DB connections
    (connection high column in the WL console) have been used during the test
    and I'm wondering why.
    Our code has the following logic :
    - get connection from pool
    - execute query
    - release connection (done in a finally block)
    We're 100% sure the connections get put back in the pool after each
    request. Is it possible that it would take some time before the connection
    is put back in the pool which would explain why we use more than 1
    connection ?
    Thanks
    -Vincent

    "Priscilla Fung" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    All these attributes are for internal JDBC XA connection pool usages only.
    Their main purpose is to work around bugs of various vendor's JDBC XA
    drivers. Therefore, by default, it should be turned off. Also, they are
    only applicable for TxDataSource with a XA connection pool, not a regular
    connection pool.
    Which driver are you using?
    thanks Priscilla. Ok, so I won't mess with these parameters :-). Are you
    confirming that they have nothing to do with the following behaviour :
    1/ Start a transaction (entry of transaction-demarcated method)
    2/ get a connection from the pool ,
    3/ execute the query,
    4/ release the connection
    5/ get a connection from the pool ,
    6/ execute the query,
    7/ release the connection
    8/ commit the transaction (exit method)
    Then, the pool will show that 2 connections were used (and not one as I was
    expecting). Joseph confirmed to me that this behaviour was due to the fact
    that the connection is not recycled till the end of the transaction. I was
    wondering if it had anything to do with these parameters ?
    Thanks
    -Vincent
    Regards,
    Priscilla
    Vincent Massol <[email protected]> wrote in message
    news:[email protected]...
    Thanks Joseph. I would have thought that KeepXAConnTillTxComplete was
    controlling this behaviour (it is set to false). Isn't that so ? Do youknow
    where I could find information on :
    KeepXAConnTillTxComplete (currently set to false)
    NeedTxCtxOnClose (currently set to false)
    NewXAConnForCommit (currently set to false)
    XAEndOnlyOnce (currently set to false)
    Thanks
    -Vincent
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Vincent Massol wrote:
    Actually, I forgot to mention that we using the following logic :
    1/ start transaction (enter method of session bean which is
    transaction
    enabled)
    2/ Perform several JDBC queries
    3/ commit transaction (exit of method)
    Thus, is it possible that because we're using a Tx DataSource and
    transactions, the DB connections from the pool are not recycled
    until
    the
    commit ?Absolutely.
    Also, I've found that there are some parameters related to XA :
    KeepXAConnTillTxComplete (currently set to false)
    NeedTxCtxOnClose (currently set to false)
    NewXAConnForCommit (currently set to false)
    XAEndOnlyOnce (currently set to false)
    As they are set to false, the connections shouldn't be reserved
    until
    the
    commit, right ?
    Can someone explain to me (or point me to some doc) where theseparameters
    are explained (I have looked a bit everywhere and couldn't find any
    information) ?
    Thanks
    -Vincent
    "Vincent Massol" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am running a test with a single client : the test client send arequests,
    wait for the response and when it gets it send another request and
    so
    on.
    Looking at the connection pool, I can see that up to 8 DB
    connections
    (connection high column in the WL console) have been used during
    the
    test
    and I'm wondering why.
    Our code has the following logic :
    - get connection from pool
    - execute query
    - release connection (done in a finally block)
    We're 100% sure the connections get put back in the pool after
    each
    request. Is it possible that it would take some time before theconnection
    is put back in the pool which would explain why we use more than 1
    connection ?
    Thanks
    -Vincent
    B.E.A. is now hiring! (12/14/01) If interested send a resume to
    [email protected]
    DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco,
    CA
    E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
    SOFTWARE ENGINEER (DBA) Liberty
    Corner,
    NJ
    SENIOR WEB DEVELOPER San Jose, CA
    SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTHCAROLINA San Jose, CA
    SR. PRODUCT MANAGER Bellevue, WA
    SR. WEB DESIGNER San Jose, CA
    Channel Marketing Manager - EMEA Region London, GBR
    DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
    SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
    E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
    QUALITY ASSURANCE ENGINEER Redmond, WA
    Services Development Manager (Business Development Manager - Services)Paris, FRA; Munich, DEU
    SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
    E-Marketing Programs Specialist EMEA London, GBR
    BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
    MANAGER, E-SALES Plano, TX

  • [svn:fx-trunk] 11685: Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.

    Revision: 11685
    Author:   [email protected]
    Date:     2009-11-11 23:05:34 -0800 (Wed, 11 Nov 2009)
    Log Message:
    Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.
    QE notes: If there's anyway to simulate a mustella test for this situation, we should add it to the List testsuite.
    Doc notes: No
    Bugs: http://bugs.adobe.com/jira/browse/SDK-24012
    Reviewer: Ryan
    Tests run: List, checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24012
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as

    Hi Jurgen,
    Thanks for the information.Yes it is a common scenario where we are struggling when multiple transports occours,More over the fear of sequencing makes it more complicated in these situations.
    Definitely this is a helpful solution.
    Regards,
    Kannan

  • Putting back from the trash

    for some reason, I accidentally deleted 500 pictures into the trash. Is there any way I can "put back" without having to do them one at a time? When I try to select two or more at a time, it doesn't seem to work.
    huge thanks
    David

    When I try to select two or more at a time, it doesn't seem to work.
    Hello David,
    but it should work like this. Even if you select the whole content at once, ctrl-click the selection, and then select "Put Back" from the pop-up menu, you should be able to put all images back at once. In what way does it not work? Do you get an error massage or does Aperture just ignore the command?
    There may be some trouble with your Aperture library. Try the Trouble shooting Basics: delete preferences and repair permissions:
    Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Regards
    Léonie

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • My ITunes library was wiped from Itunes app on my PC, but it is still in a folder on my hard drive. How can I reinstall my library back to the Itunes app? My library is available in Itunes on my Ipad but I can't find an option to synch to my PC?

    My ITunes library was wiped from the Itunes app on my PC, but I think the files are still in a folder on my hard drive. How can I reinstall my library back to the Itunes app? My library is available in Itunes on my Ipad but I also can't find an option to synch to my PC?

    How to recreate iTunes Library
    No content shows up in iTunes after updating

  • I was trying to download my itunes to my iphone and did a restore by mistake.  Now all my contacts, pictures etc are gone from april to now.  How can I revert my iphone back to the way it was

    I was trying to download my itunes to my iphone and did a restore by mistake.  Now all my contacts, pictures etc are gone from april to now.  How can I revert my iphone back to the way it was

    - You do have iTunes version 11 on the computer, right. Saying the latest is not sufficient.
    - Have you tried everthing here:
    iOS: Device not recognized in iTunes for Windows
    - You should
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Your library/media will not be affected.
    - Does the iPod charge?

  • Can you get your photos back after the iphone does a restore

    Can you get your photos back after the iphone does a restore?

    Actually, wrong.
    The tech support people can help with Playbook purchased apps. If you've called and they said they cannot, you were lied to.
    Even in the link you posted, in #10, it states clearly "App Refund related matters are handled by BlackBerry Customer Care." That, my friend is accessed by the support number. Again, if you were told otherwise, you should inform them of such or ask for a manage/supervisor.
    And, you don't have a "Partner ID" because you are not a "Partner". The section you're referring to applies to mobile providers, which are the Partners.
    Good luck.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Hii . , any method can help resotore my data back from the sync service ?!

    hii ,
    I have set up a Firefox Sync account . and, I backed up my laptop but forgot to back up the sync key or the recovery key ! .so Now, I can't set up the Firefox Sync service anymore, as my email address has already registered but i don't have a sync key to access.
    I would like to have the sync key back wthout losing any of my data !! only what i want is my data !!
    so what do i have to do ? can u help me ? or can u send me the recovery sync key ? how can i have my data back from the service ? can u tell any method that can help me or can restore my data plzz ; (
    i have realy important data !! = (
    my email : (Email removed by mod)

    You can try to run a recovery program (recuva, or the like) but that is a slim chance. Otherwise, you can't get that data back after deleting it.

  • Since I updated I can't open anything that comes in a pop upwindow i.e. pdf or mail window. How can I solve or go back to the previous version - it worked just fine.

    Since I updated I can't open anything that comes in a pop upwindow i.e. pdf or mail window. How can I solve or go back to the previous version - it worked just fine.

    I am not sure what your problem is, can you give more details.
    One possibility is you may be in full screen mode, for details on fixing that see the [[menu bar is missing]] article.
    If you are missing various toolbar items, see the [[back and forward or other toolbar items are missing]] article.
    If your problem is something else please give more details.

  • Why can't I actually put widgets on the desktop?

    Why can't I actually put widgets on the desktop and have stay on the desktop; not float on top of all my programs so I can’t see what I am doing?
    I know there are a few widgets that claim to do this, but they don’t! (Dashit)
    Here is the main problem that I have with Dashit; it doesn’t go on the desktop, it floats on top of every program and you can’t make it actually put it on the Desktop! This makes this little widget useless! Why can’t anybody make a widget that actually puts the widgets on the desktop?
    What use is it if the darn things just float on top of every program? This just gets in the way. Dose anyone know of a widget or a way to actually put the widgets on the desktop?

    Garret, the only way to put Dashboard widgets on the desktop and select the level they live in (so they don't float over everything) is to use either Amnesty Widget Browser or Amnesty Singles. Both are shareware.
    Disclaimer: I may receive some form of compensation, financial or otherwise, from my recommendation or link [my company developed Amnesty].

  • After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please rpely.

    Hi,
    After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please reply.
    Thanks,
    Ganesh

    If you disconnect the cable going to the serial device, do you still get the echo? If so you have something going on in the port setup. If disconnecting the cable stops the echo then the device you're talking to is doing it - which would be my bet. One thing to check is whether this might not be normal operation. I have seen devices that if a command was successful, it simply echo'd back the command string you had sent. Also many serial devices have setting for specifying whether they are to echo commands.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • I forgot secret questions to enter the account I need to help me put back on the questions and answers them  Your brother Mohammed Al-Ghamdi

    I forgot secret questions to enter the account But I know the PIN number to my account I need to help me put back on the questions and answers them
    Your brother Mohammed Al-Ghamdi

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
      Or Email Here  >  Apple  Support  iTunes Store  Contact
    NOTE:
    It is not wise to post personal information on a Public forum. I have asked the Hosts to remove your Account Details and Phone Number.

Maybe you are looking for