Issue in dequeuing messages on Linux using AQjmsTextMessage_C.getFactory().

Hi All,
This is regarding issue related to Dequeuing of message from AQ on Linux platform using JAVA API. Our appliaction is sending message on AQ which has queue payload type of type 'SYS.AQ$_JMS_TEXT_MESSAGE'. For dequeuing of this message we are using method AQjmsTextMessage_C.getFactory() that returns CustomDatumFactory.
The code snippet is as follows:
AQDequeueOption dequeueOption = new AQDequeueOption();
message = ((AQOracleQueue)l_queue).dequeue(dequeueOption,AQjmsTextMessage_C.getFactory());
The code is working fine on Windows environment. I ran the code from JDev IDE and also from batch file which was hitting the Oracle AQ installed on Linux environment. In both the case either through IDE or through batch file the code is running properly.
The same code on Linux is not working properly i.e. when the method AQjmsTextMessage_C.getFactory() is called we are not able to get the CustomDatumFactory. We are not getting any errors/exceptions and the control is directly going to finally block of our method and we are not getting the message from AQ. We tried with different jar files that contain the AQjmsTextMessage_C class but still not able to figure out the issue(The jar files used are viz. aqapi.jar,aqapi12.jar,aqapi13.jar,aqapi_g.jar,aqapi12_g.jar,aqapi13_g.jar).
The script that we used for creating the queue is as follows:
BEGIN
dbms_aqadm.create_queue_table(
queue_table=>'SAMPLE_T',
queue_payload_type=>'SYS.AQ$_JMS_TEXT_MESSAGE',
multiple_consumers => false,
comment => 'Queue Table For Text Message'
END;
BEGIN
dbms_aqadm.create_queue (
queue_name => 'SAMPLE_Q',
queue_table => 'SAMPLE_T');
END;
BEGIN
dbms_aqadm.start_queue (queue_name=>'SAMPLE_Q');
END;
Please let me know if you have faced such issue on Linux environment or have any pointers about the same.
Regards,
Abhishek

If "control is directly going to finally block" there must be some (unchecked) runtime exception. Catch it.
try{
  AQDequeueOption dequeueOption = new AQDequeueOption();
  message = ((AQOracleQueue)l_queue).dequeue(dequeueOption,AQjmsTextMessage_C.getFactory());
} catch (Throwable t) {
  t.printStackTrace()
}You probably just don't have native code in the library path.

Similar Messages

  • How to issue an error message in srm using BBP_DOC_CHANGE_BADI implem?

    Subject....
    This can be easily done in BBP_DOC_CHECK_BADI using et_message exporting table. There's no table like that in DOC_CHANGE_BADI. Please Advise.

    Hi
    First, let me one thing like "ET_MESSAGES" is not a database table it is an EXPORTING parameter of BADI (BBP_DOC_CHANGE_BADI).
    This exporting parameter is referred to one TABLE TYPE (BBP_TMESSAGES_BADI) and internally it refers to the structure (BBP_SMESSAGES_BADI).
    So, what you need to do is just capture all the error messages in to some internal table and loop the internal table and populate "ET_MESSAGES" internal table which is a exporting parameter.
    Hope it helps you.
    Thanks
    Siva

  • Dequeuing messages not working

    I am trying to dequeue messages through the use of a java durable subscriber. That is the only subscriber. I successfully get the message and then call the method _session.commit();. Neither throw any errors and I am confused as to why the queue shows the message as processed yet it is still in the queue. Is there an orcale process that needs to be running to remove these dequeued messages? Propagation between databases is not a valid solution. So, some of the examples do not hold for my current setup.
    my setup:
    oracle 9i
    create table, schema, objects, trigger to push jms messages into queue
    java client to dequeue messages.
    One strange thing I notice, at least to me, is that in order for the trigger to place messages into the queue, i need to either start the java durable subscriber up so it creates a subscriber or run the following: EXECUTE create_subs ( "name", "queue_name", null, null );. Now do I now have two subscribers once I start the java client up after running the PL/SQL command?
    per my requirements I need to be able to queue things through a trigger, thus I need to be able to queue messages without having a java durable subscriber running.
    Is there a way to determine who is subscribed? For some reason I am not seeing the information i need in any document or on any list.
    Any help would be greatly appreciated.
    Thanks,
    James

    createDurableSubscriber creates a new subscriber or gets an handle to an existing subscriber.
    When you enqueue a message - you must either have created the subscriber or explicitly specified the recipient during the publish. From what you are seeing it seems that you are trying to enqueue a message without creating the subscriber.
    If you want to do this then you must explicilty specify the recipient in the publish call. You'll need to use OJMS extensions in AQjmsSession to do this. The recipients can be specified as an array of AQjmsAgent s

  • Dequeuing a Map message from AQ using Java/JMS

    I have a queue in Oracle AQ, created from a queue table with queue_payload_type of SYS.AQ$_JMS_MAP_MESSAGE. I can successfully enqueue a Map message using PL/SQL, but when I try to read a message from the queue using the JMS API (with the Oracle AQ JMS provider JARs) in a standalone Java program, the message is not successfully read. However, the RETRY_COUNT in the queue table is incremented each time I try to read from the queue. I do not receive any error messages on the client side.
    If I change the queue_payload_type of the queue table to SYS.AQ$_JMS_TEXT_MESSAGE instead and enqueue a text message using PL/SQL, I can read the text message successfully in the standalone Java program using JMS. The message is removed from the queue and everything works fine.
    Most Oracle AQ/JMS examples I've found on the web involve text messages. Has anyone been able to read a Map message from an Oracle AQ queue using JMS, or is there a known issue with Map messages?
    I'm running Oracle 10g Standard Edition version 10.2.0.1.0 on Windows XP.
    Thanks for your help,
    Marty

    While you are awaiting an answer you might want to consider applying the 10.2.0.4 patch. Your version is several years old and patches are free.

  • How to run SQL script file on Linux using Java ?

    Hi,
    I need to execute .sql file using java. I used following approach for this.
    private void runScriptEvent(java.awt.event.ActionEvent evt) {                               
            String sqlOutput = "";
            String sqlPromptLines="";
            String currentFunctionName = "";
            if(con!=null){
                String userName = jTextField4.getText();
                String password = jPasswordField1.getText();
                String databaseName = jTextField3.getText();
                try {
                    String script_location = "";
                    ProcessBuilder processBuilder =null;
                    Process process = null;
                    //File file = new File("C:/ScriptFile");
                    File file = new File("./SQL_Script");
                    //File file = new File("E:\\install\\SQL_Script");
                    if(file.exists()){
                        File [] list_files= file.listFiles(new FileFilter() {
                                        public boolean accept(File f) {
                                        if (f.getName().toLowerCase().endsWith(".sql"))
                                        return true;
                                        return false;
                    int count = 0;
                        for (int i = 0; i<list_files.length;i++){
                            script_location = "@" + list_files.getAbsolutePath();//ORACLE
    //currentFunctionName = list_files[i].getName();
    StringTokenizer st = new StringTokenizer(list_files[i].getName(), ".");
    while(st.hasMoreTokens()) {
    currentFunctionName = st.nextToken();
    String extention= st.nextToken();
    System.out.println("Function Name = "+currentFunctionName + "\t Extention = " + extention);
    processBuilder = new ProcessBuilder("sqlplus",userName+"/"+password+"@"+databaseName, script_location); //ORACLE
    processBuilder.redirectErrorStream(true);
    process = processBuilder.start();
    BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream()));
    String currentLine = null;
    while ((currentLine = in.readLine()) != null) {
    sqlPromptLines = " "+sqlPromptLines + currentLine +"\n";
    count ++;
    System.out.println(count+" " + currentLine);
    if(currentLine.equalsIgnoreCase("Function created.")){
    sqlOutput = "\n" sqlOutput currentFunctionName + " " currentLine"\n" ;
    break;
    }// end while
    in.close();
    process.destroy();
    }//end for
    }//end if file exists
    } catch (IOException e1) {
    jTextArea1.setText(e1.getMessage());
    System.out.println("Script Done");
    jTextArea1.append(sqlOutput);
    }// end id Connection is not null
    Above code working appropriate on Windows but not on Linux.
    is there any changes needed ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Nov 21, 2012 6:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi gimbal2,
    about code
    jTextArea1.setText(e1.getMessage());I am using this code so that the user will be prompted with a message rather than stack trace.
    About the issue I am getting on linux i believe its because of following statement.
    processBuilder = new ProcessBuilder("sqlplus",userName+"/"+password+"@"+databaseName, script_location); //ORACLERegards,
    Ajay
    Edited by: Ajay Sharma on Nov 23, 2012 12:05 PM
    Edited by: Ajay Sharma on Nov 23, 2012 12:06 PM

  • BPE_ADAPTER MESSAGE_NOT_USED Message is not used by any processes

    We need some help on BPM flow. We are at it for last 3 days without much progress. We are able to make sync call to same BAPIs and get data without any issue. However, with BPM we have this issue
    I am creating the simplest integration scenario as
    1.       HTML/HTTP-->BPM (Async)
    2.       BPM-->R/3 (Sync)
    3.       BPM-->File (Async)
    Created all required interfaces and mapping. I have some dummy mapping for first 2 cases. I am able to activate the integration scenario and Integration Process without any error. I am able to import it in integration directory successfully without any error. When I am executing the first async request from HTML client I am invariably end up with an error from sxmb_moni as
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Message is not used by any processes</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The BPM is not getting invoked. Looking at the trace it shows that there is an error after creating BPE proxy for message as
    <Trace level="3" type="T">created BPE proxy for message DE5FB5802F33D3F19373005056A12466</Trace>
      </Trace>
      </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
      <Trace level="3" type="T">Persisting message after plsrv call</Trace>
      <Trace level="3" type="T">Message-Version = 007</Trace>
      <Trace level="3" type="T">Message version 007</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    What I have checked so far:
    1.    I have checked that the developer key is assigned to my user id
    2.    Used SWF_XI_CUSTOMIZING to make sure that all the process are green
    3.    Used sxi_cache to make sure that the BPM process has return code 0 and also reactivated it numerous times. Also checked activation log and no error there
    4.    Used SXMP_ADM_BPEAutomatic BPM Customizing to check all the entries are green
    5. There are not any message in sxmb_moni_bpe for my interface shows no message
    Input call has:
    1.    Sender Service: MFG_BPM_BusinessSystem
    2.    Sender Interface: MI_Outbound_Async
    3.    Quality Of Service: EO
    4.    Sender Name space: Name space
    5.    Input XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:BAPI_SALESORDER_GETLIST xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
       <CUSTOMER_NUMBER>0000001000</CUSTOMER_NUMBER>
       <DOCUMENT_DATE/>
       <DOCUMENT_DATE_TO/>
       <MATERIAL/>
       <MATERIAL_EVG>
          <MATERIAL_EXT/>
          <MATERIAL_VERS/>
          <MATERIAL_GUID/>
       </MATERIAL_EVG>
       <PURCHASE_ORDER/>
       <PURCHASE_ORDER_NUMBER/>
       <SALES_ORGANIZATION>1000</SALES_ORGANIZATION>
       <TRANSACTION_GROUP/>
       <SALES_ORDERS>
          <item>
          </item>
       </SALES_ORDERS>
    </ns0:BAPI_SALESORDER_GETLIST>
    Any clue, help pointer will be of great help. Just beats me, what is wrong!!
    Version:
    SAP R/3 ECC 6.0
    XI 7.0

    Hi,
    Please check these threads where they have the same issue:
    Message is not used by any processes
    Error: Message is not used by any processes
    Error: BPE_ADAPTER Message not used in any process
    Message is not used by any processes
    ---Satish

  • As i upgraded my iphone 4 to ios5 i cant edit my phone list  and the i message won't use my phone number, what shall i do

    as i upgraded my iphone 4 to ios5 i cant edit my phone list  and the i message won't use my phone number, what shall i do

    Hi drgpeck,
    This article is for a similar issue, and the troubleshooting steps would be recommended for your specific issue:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/TS1814
    Cheers!
    - Ari

  • Issue sending picture messages

    I have no issue sending or receiving pictures from other people with my S4; however, when I send pictures, I'm regularly told by who I was trying to send it to that it wouldn't come through or wasn't attached. On my end it looks like it when through, though. Some of my AT&T friends receive a message saying the message was deleted. I have the issue with all carriers, including Verizon, and with mulitple different phones. I've checked the Global/LTE mobile data issue and this problem happens when I'm on WiFi and when I'm not. Happens at least half the time. Sometimes, they get it if I resend it, but many times it's a lost cause. Really frustrating...I didn't have this issue with an iPhone, but it's making me want to switch back.

    I'm using the original messaging app. I don't have issues using 3rd party applications.
    Verizon Wireless Customer Support <[email protected]> wrote:
    Verizon Wireless Customer Support  created the discussion
    "Issue sending picture messages"
    To view the discussion, visit: https://community.verizonwireless.com/message/1115855#1115855
    >

  • Exception while dequeuing message

    Hi,
    I am getting an error sayin
    "Exception while dequeuing message : Dequeue error in AQ object, ORA-25215: user_
    data type and queue type do not match"
    What will be the problem?Please help me with solution.
    Thanks in advance

    This is the link i am following for enqueuing the message into a queue table, its happening successfully.
    http://www.oratechinfo.co.uk/aq.html
    I can see the message i enqueued in the queue table with the following query at the scheduled time.
    select user_data from queue_table;
    Below is the C++ code to dequeue the msg.In DequeueObject() function on this particular line "msgid = oaq.Dequeue();"
    the control moves to console which not proceeding further.I am wondering what went wrong.
    //This is a simple program showing how to call oo4o api from a mulithreaded application.
    //Note that every thread has its own OStartup() and OShutdown() routines.
    // PROJECT SETTINGS : Under C/C++ option, make sure the project options is /MT for release
    // or /MTd for debug(NOT /ML or /MLd).
    #include "windows.h"
    #include "stdio.h"
    #include <iostream>
    #include <process.h>          
    #include <oracl.h>
    using namespace std;
    OSession osess ;
    int DequeueRaw();
    int DequeueObject();
    int main(int argc, char **argv)
         int retVal = 0;
         OStartup(OSTARTUP_MULTITHREADED);
         // create session object for each thread. This gives maximum
         // concurrency to the thread execution. This is also useful when OO4O
         // error reported on session object for one thread cannot be seen by
         // another thread.
         try
              osess.Open();
              if ( ! osess.IsOpen() )
                   cout << "Session not opened: Error: " << osess.GetErrorText() << endl;
                   osess.Close();
                   OShutdown();
                   return -1;
         //     retVal = DequeueRaw();
              retVal = DequeueObject();
         catch(OException oerr)
              cout << "Exception while dequeuing message : " << oerr.GetErrorText() << endl;
              retVal = -1;
         return retVal;
    // This function dequeues a message of default type(string of characters)
    // from the raw_msg_queue.
    // Gets the message priority after dequeuing
    // Checks if any message with correlation like 'AQ' is available on the queue.
    int DequeueRaw()
         ODatabase odb;
         OAQ oaq;
         OAQMsg oaqmsg;
         OValue msg;
         const char *msgid = 0;
         odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
         if ( ! odb.IsOpen() )
              cout << "Database not opened: " << odb.GetErrorText() << endl;
              odb.Close();
              return(-1);
         // Open the 'raw_msg_queue'
         oaq.Open(odb,"example_queue");
         if( !oaq.IsOpen())
              cout << "AQ not opened: " << oaq.GetErrorText() << endl;
              return(-1);
         // Get an instance of the default message(of RAW type)
         oaqmsg.Open(oaq);
         if( !oaqmsg.IsOpen() )
              cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
              return(-1);
         // Dequeue a message
         //msgid = oaq.Dequeue();
         //if (msgid )
         //     // Retrieve the message attributes
         //     oaqmsg.GetValue(&msg);
         //     const char *msgval = msg;
         //     cout << "Message '" << msgval <<
         //          "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
         // Dequeue message with correlation like "AQ"
         oaq.SetCorrelate("%AQ%");
         oaq.SetDequeueMode(3);
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              char msgval[101];
              long len = oaqmsg.GetValue(msgval,100);
              msgval[len] = '\0';
              cout << "Message '" << msgval <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
         // Close all of the objects
         oaqmsg.Close();
         oaq.Close();
         odb.Close();
         return 0;
    // This function dequeues a message of user-defined type MESSAGE_TYPE
    // from the msg_queue.
    // Gets the message priority after dequeuing
    // Checks if any message with correlation like 'SCOTT' is available on the queue.
    int DequeueObject()
         ODatabase odb;
         OAQ oaq;
         OAQMsg oaqmsg;
         const char *msgid = 0;
         OValue msg;
         char subject[255];
         char text[255];
         odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
         if ( ! odb.IsOpen() )
              cout << "Database not opened: " << odb.GetErrorText() << endl;
              odb.Close();
              return(-1);
         // Open the 'msg_queue'
         oaq.Open(odb,"example_queue");
         if( !oaq.IsOpen())
              cout << "AQ not opened: " << oaq.GetErrorText() << endl;
              return(-1);
         // Get an instance of the udt MESSAGE_TYPE (check out schema for details)
         oaqmsg.Open(oaq,1,"MESSAGE_TYPE");
         if( !oaqmsg.IsOpen() )
              cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
              return(-1);
         // Dequeue message with correlation like "SCOTT"
         oaq.SetCorrelate("%OMNIPOS%");
         oaq.SetDequeueMode(3);
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              // Get the subject,text attributes of the message
              OObject msgval;
              oaqmsg.GetValue(&msgval);
              msgval.GetAttrValue("subject", subject,255);     
              msgval.GetAttrValue("text", text,255);
              cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
              msgval.Close();
         msgid = 0;
         oaq.SetNavigation(1);
         oaq.SetCorrelate("");
         // Dequeue a message
         msgid = oaq.Dequeue();
         if (msgid )
              // Retrieve the message attributes
              OObject msgval;
              oaqmsg.GetValue(&msg);
              msgval = msg;          
              // Get the subject,text attributes of the message
              msgval.GetAttrValue("subject", subject,255);     
              msgval.GetAttrValue("text", text,255);
              cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
                   "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
              msgval.Close();
         // Close all of the objects
         msgid = NULL;
         msg.Clear();
         oaqmsg.Close();
         oaq.Close();
         odb.Close();
         return 0;
    }

  • Question on issuing a error message

    HI All,
    I am new to WDA.   I am developing a WDA application, on the first view I have a table and a button to go to the next view.
    When the table is empty i need to issue a error message in the message area and the user should not be able to navigate further using the NEXT button.  
    I want to display this message before the user does some action i.e ( before the button trigger ).
    Can some one help me how to achieve this.
    Thanks,
    Krishna

    i need to issue a error message in the message area and the user should not be able to navigate further using the NEXT button.
    now if ls_cn_input is INITIAL , u need to generate a error message and disable ur NEXT button
    //for generating the error message
    // this can be done by code wizard ( cntrl +f7) as well by selecting the radio button generate message and select the
    // method *report_error_message*
    *    DATA lv_message  TYPE string .
    **     get message manager
    *    DATA lo_api_controller     TYPE REF TO if_wd_controller.
    *    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
    *    lo_api_controller ?= wd_this->wd_get_api( ).
    *    CALL METHOD lo_api_controller->get_message_manager
    *      RECEIVING
    *        message_manager = lo_message_manager .
    **     report message
    *    CALL METHOD lo_message_manager->report_error_message
    *      EXPORTING
    *        message_text   = 'Please enter data before exit .'.
    // ur error message
    the user should not be able to navigate further using the NEXT button.
    // disable the NEXT button
    u procced as follows :
    1 create a context attribute of type WDY_BOOLEAN
    2 bind this with ur button UI
    3 nw using set_attribute method , set its value to ' ' ( ie blank)
    again this cn be donr thru code wizrd by selecting read context node/attribute
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   set single attribute
        lo_el_cn_node->set_attribute(
          EXPORTING
            name =  `CA_ATTR`
            value = ' '  ).
    // I have read ca_attr  attribute under context node cn_node
    // this attribute is binded to button UI
    I hope it helps
    rgds,
    amit

  • Dequeue Messages queued by caprture process

    RDBMS Version: 10.1.0.4
    Operating System and Version: WINDOWS 2003 SERVER
    Error Number (if applicable):
    Product (i.e. SQL*Loader, Import, etc.): Oracle Streams
    Hi,
    Can I do the following.
    I had set up couple of databases for replication using ORACLE STREAMS in hub configuration(One central and many local). My problem is that sometimes some of the connection between them will not work for a significant period of time. That's why I need some tool to move the data.
    So I decide to dequeue the which are captured by the CAPTURE process and to process them with a PL/SQL program, save their payload in a file or external table and then trough some way to bring this data to the master server and the other way round.
    But I can't dequeue messages because the agent created for the propagation process has no name and I can't dequeue messages if I don't have the CONSUMER.
    All examples that I saw in Metalink use already propagated messages with a propagation process.
    So I need some other way to propagate my messages different then propagation process! The task is even more complicated because at the central DB some of the messages has a multiple consumers...
    Any suggestions?

    Wel in 10g it is just as simple as: create a apply-process by adding a table/schema rule that matches the enqueued messages. If you have a captureprocess for several tables off a schema, then a schema rule for that schema owning those tables would do. Then with the set_enqueue_destination api you can add a queue on this rule. Which means that the apply process won't apply those messages but reroutes them on your user-queue. This queue you can create by yourself but it must be of type 'sys.anydata'.
    The messages enqueued on that queue by the apply process can be dequeued by a user process.
    So just put-in an apply process that dequeues the captured LCR's for you and enqueues them on your user-queue. And then you can dequeue them.
    Regards,
    Martien

  • Dequeueing message from xmltype queue

    I have the queue build upon the XMLType (too complex to use it as a payload). When I'm trying to dequeue messages with ESB AQ Adapter they are not passing through. When building the service adapter I've specified the same schema file as destination payload type so it's rather impossible to have any differences. Is it necessary to do anything special (transformations or so) to make it working ?

    This is not a supported feature. The best solution is to write a java callout to pull the message from the queue.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]
    Edited by ghaardt at 09/11/2007 4:00 PM

  • Sample Message Driven Bean using Oracle Advance Queuing

    Hi,
    Can someone please provide me with sample MDB using Oracle Advance Queuing to Enqueue & Dequeue messages?
    Thanks

    Write your email Id .....I have got a test case which basically enqueus and dequeues the messages using Oracle9i AQ..
    --Venky                                                                                                                                                                                                                                                                   

  • How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes?

    How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes? I already went to the folder of iTunes inside the Finder and change all permissions to allow read and write... no improvement at all. Any help? thanks!

    Hi! I just realized I have two folders called library, one is inside HD alongside with System and users, then I have also "library" inside users, some of the folders are apparently repeated, some are missing. And all the music is inside a folder called iTunes Music, inside Music, inside users. Now that I relaized some folders are repeated I applied to all related to iTumes r/w permission. But the annoying message keeps coming on.
    And yes, I am using Leopard, 10.5.8.
    Any ideas?

  • Dequeueing messages in enqueue order

    Is it possible to determine the order in which messages were enqueued when two or more processes are running concurrently and enqueueing messages to the same queue? In the FAQ section of the AQ documentation it states that if two or more messages are enqueued at the same time the STEP_NO column of the queue table can be used to determine the enqueue order. But apparently this only works when the messages are enqueued in the same queue session.
    In my situtation I'm using Oracle8i Enterprise Edition Release 8.1.6.0.0 and I have two or more processes, each with its own queue session, enqueueing and dequeueing messages to the same queue. I have to be sure that the messages are dequeued in exactly the same order that they were enqueued. How do I determine the order that two messages with the same enqueue time were enqueued when each message was enqueued a in different queue session?
    Thanks for your help.

    Is it possible to determine the order in which messages were enqueued when two or more processes are running concurrently and enqueueing messages to the same queue? In the FAQ section of the AQ documentation it states that if two or more messages are enqueued at the same time the STEP_NO column of the queue table can be used to determine the enqueue order. But apparently this only works when the messages are enqueued in the same queue session.
    In my situtation I'm using Oracle8i Enterprise Edition Release 8.1.6.0.0 and I have two or more processes, each with its own queue session, enqueueing and dequeueing messages to the same queue. I have to be sure that the messages are dequeued in exactly the same order that they were enqueued. How do I determine the order that two messages with the same enqueue time were enqueued when each message was enqueued a in different queue session?
    Thanks for your help.

Maybe you are looking for

  • Using Wifi in the U.S. With my BB Torch 9800

    So last week I traveled to the United States and I was told that I would be able to connect to the internet using WIFI.  First thing I did was go to MANAGE CONNECTIONS and go to MOBILE NETWORK and turn off DATA SERVICES and WHILE ROAMING. Then I sele

  • When should be package invalidated?

    Hello guys, I would need again some help... My question is: When exactly should be package invalidated? Consider following situation: We have two packages, one contains constants (in its specification), the other is reading these constants. Package i

  • Update controlling area

    Hello experts, I need your help. My client is using controlling area 40(USS) and he wants to change to 10(R$-brazillian currency) that is the same as the company code. However, all the planning of 2009 were created using 40 currency. If I change the

  • Join two sites together

    Hi, i have two dynamic websites each connecting to two separate databases via separate connections. I have tried merging the two sites into one, but i get a problem because the database connection for one of the sites dont work after i join them. Can

  • Konqueror - inode/directory, but cannot handle this file type [solved]

    After upgrading kde 4.3, konqueror error: ...inode/directory, but cannot handle this file type. I tried this link but didn't work: https://lists.ubuntu.com/archives/kubun - 40719.html EDIT: Requires dolphin