Help me in usage of advanced queuing please ....

hello all,
we are developing a network based application in java servlets and oracle 8i as database at the servers.
to transfer data as costomised messages we are using ibm mq series as middle layer on top of tcp/ip.
we want to replace ibm mq series with oracle advanced queuing.
i could not find any details regarding this latest feature
i want to know what are the java packages available to use this feature and how to use them
are they similar to that of ibm.mq package
can i have some sample code about the usage of them ?
please send me the details ......
with regards,
prasad

Try the standard ORACLE documentation
Oracle8i Application Developers Guide - Advanced Queuing (AQ).
There are also some examples.
Others you can find in $(ORACLE_HOME)\oci\samples

Similar Messages

  • Nested Tables and Advanced Queues- Please Help.

    How do i work with NestedTable type and Advanced Queue.
    I have done the following
    I have Oracle 8.1.7 enterprise edition.
    create type myType as TABLE OF varchar(32);
    create type myObject as OBJECT (
    id int,
    myt myType);
    DECLARE
    BEGIN
    dbms_aqadm.create_queue_table(
    queue_table => 'my_queue_table',
    multiple_consumers => TRUE,
    queue_payload_type => 'myObject',
    compatible => '8.1.3'
    END;
    The Nested Table and Object are created successfully.
    but the queue is not created.
    I get the following message.
    DECLARE
    ERROR at line 1:
    ORA-22913: must specify table name for nested table column or
    attribute
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2012
    ORA-06512: at "SYS.DBMS_AQADM", line 55
    ORA-06512: at line 3
    I know how to specify the nested table storage clause for
    create table statement, but there is no provision for
    it in the create_queue_table procedure.
    Any help will be greately appriciated.
    i have already created and tested aqs with simple data types,
    also i have created simple tables with nested table type
    elements.
    but the combo of Nested tables and AQ is not working.
    thanks in advance.

    Hi Francois. Thank you very much for your reply, but it seems that i still get errors. So let me tell what i have done.
    As you suggested me: i have done a block based on a sub-query for the nested-table:
    'select courses from department where name= :department.name'.
    In the master block(department) i have the when-new-record-instance trigger:
    Declare
    LC$Req varchar2(256);
    Begin
    LC$Req := '(select ns.courses from table
    ( select courses from department where name = ''' || :DEPARTMENT.name || ''' ) ns )';
    Go_block('block11');
    Clear_Block ;
    Set_Block_Property( 'block11', QUERY_DATA_SOURCE_NAME, LC$Req ) ;
    Execute_query ;
    End ;
    Now the errors i receive, this time in the runtime mode are:
    - FRM-41380: Cannot set the blocks query data source
    -FRM-41003: This function cannot be performed here.
    Since it seems that you know how to work with the nested table i would really appreaciate your help. I am new in the nested table and if you could give an ex with my tables it would be great.
    Thank you in advance.

  • FORMS APEX communication through Advanced Queuing

    Hi there,
    I have to prepare a proof of concept for an APEX application and the customer asked me if it is possible to establish a communication between FORMS and APEX besides using an URL call.
    Would the usage of Advanced Queuing be a good practice for this asynchronous communication?
    Regards
    Tareq.

    AQ will work on the Forms side, but not (or very complex) on the APEX side, because APEX is stateless (so no DB connection) and uses session pooling (you can hav another DB session for every roundtrip).
    But maybe this will help:
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html
    http://roelhartman.blogspot.com/2009/10/forms-apex-integration-video.html
    http://roelhartman.blogspot.com/2009/10/integration-of-forms-and-apex-calling.html

  • Advanced Queuing Help

    Hi, I need help with creating an Advanced queue. I have already created the queue table but when I try to create the queue it says that it was sucessful, yet I can not find it. Also I need help with creating a SQL subscriber such that some sort of SQL code with enqueue a message, and the subscriber will dequeue and print it out or something. I am also going to set up a ESB process to do the some thing.
    Here is my queue_table code:
    dbms_aqadm.create_queue_table( queue_table => 'TEST_QUEUE_TABLE',
                                  queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE',
                                  multiple_consumers => True);

    Hey demorgan, I get this error with the demo. At some point I have to make a procedure with this:
    SELECT TO_NUMBER(SUBSTR(dbms_crypto.randominteger,3,1))
        INTO x
        FROM dual;I get this error: ORA-00904: : invalid identifier
    Also how do I view what is on a queue? This demo does not show that.

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • TS2446 I forgot the security question about what was my first car and what is my favorite car! What is the solution to change that? please help me, thank you in advance Leo

    I forgot the security question about what was my first car and what is my favorite car! What is the solution to change that? please help me, thank you in advance Leo

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • My iPhone 4s is locked in speaker mode where it tells me every time I touch a new app and it outlines the app I touch and requires me to touch the screen twice in order to advance. Please help me remove this setting

    My iPhone 4s is locked in speaker mode where it tells me every time I touch a new app and it outlines the app I touch and requires me to touch the screen twice in order to advance. Please help me remove this setting

    Explore Settings > General > Accessibility. Around page 128 of the User Guide is probably appropriate.
    The User Guide is available at http://support.apple.com/manuals/ or downloadable from iTunes as an iBook.

  • I'm getting error as adobe Illustrator crashes while loading the multiple pages PDF file. Please help me. Thanks in advance.

    Hi,
    I'm getting error as adobe Illustrator crashes while loading the multiple pages PDF file.
    Please help me. Thanks in advance.

    Hi Monika,
    I have downloaded the script to load the multiple page of pdf file.
    I tried loading the multiple page PDF file via File Menu -> Scripts -> Other Script...
    After executing the script file -> Browse and enter the page number - > OK
    The PDF file is looks like created from word document. There are total 120 pages in this file.
    PDF file size is 20 MB.
    I'm still searching for the solutions. Please help me.
    Thanks,
    Lavprasad

  • I am running Yosemite 10.10.2 on my Macbook Pro. In the game center app I can not access my account. Clicking on the username does not help - it looks like it's stuck. Can anybody please help me? Thanks in advance.

    I am running Yosemite 10.10.2 on my Macbook Pro. In the game center app I can not access my account. Clicking on the username does not help - it looks like it's stuck. Can anybody please help me? Thanks in advance.

    Someone in another section answered this. Thanks.

  • Java advanced queue MDB class usage

    Hello,
    Loads of questions about JMS AQ and MDB.
    I have not found anything that tells you how to use the oracle.jms classes within a MDB's directly. Do I just cast the message to a AQMessage and retrieve from there?
    I have found plenty of documentation about using the oracle.jms classes. Ive found a lot of information about using advanced queues and enqueing and dequeuing to them in Java. I have found information about MDBs and how to use them as a regular service ie: using TextMessage
    Is there a simple document describing MDB oracle AQ classes? I have looked through umpteen million Oracle documents to no avail.
    Is there an interface for MDB in the Oracle AQ classes which has an onMessage() method which I can implement taking in oracle.jms classes?
    When processing a message that I would like to put on another queue do I call the AQ classes to enqueue a message and set its attributes that way or do I use the JMS classes and their methods to do that?

    http://download-west.oracle.com/docs/cd/A97688_12/generic.903/a97677/mdb.htm#1013265 should get me most of the way there.

  • Advanced queue in Oracle9i Standard Edition One

    Hi,
    Is advanced queuing available in the Standard Edition One for 9i?
    Thanks,
    Gloria

    Hi!
    i think, that the SE One is only an edition for 10g. in 10g and 9i advanced queuing is included in every available edition. Please refer to:
    http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family_0104.pdf
    and
    http://www.oracle.com/technology/products/oracle9i/pdf/9idb_rel2_prod_fam.pdf
    hope tat helps
    André

  • Integration Oracle Advance Queue with OSB

    We are doing integration for Oracle Advance Queue with OSB.
    I created an AQ adapter in Jdev and generate the WSDL and XSD.
    I imported both WSDL and XSD in OSB Project.
    When i am configuring the business service and selecting the WSDl i am not able to select Binding and ports, is it due to any issue in WSDL?
    Please help.
    Thanks,
    Mihir Panda

    Hi again,
    I made some adjustments to your wsdl. I added the binding part and its reference to the appropriate port.
    Now I reckon, you should be able to do your thing:
    <wsdl:definitions
    name="enq"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS"
    xmlns:ph="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <plt:partnerLinkType name="Enqueue_plt" >
    <plt:role name="Enqueue_role" >
    <plt:portType name="tns:Enqueue_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <!-- Define AQ Headers = Payload Headers -->
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS" >
    <import namespace="http://xmlns.oracle.com/xdb/APPS" schemaLocation="xsd/APPS_WF_EVENT_T.xsd"/>
    <complexType name="enqHeaderCType" >
    <sequence>
    <!-- payload header -->
    <element name="PayloadHeader" type="xs:string" />
    </sequence>
    </complexType>
    <element name="enqHeader" type="ph:enqHeaderCType" />
    </schema>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns="http://www.w3.org/2001/XMLSchema" >
    <element name="opaqueElement" type="base64Binary" />
    </schema>
    </wsdl:types>
    <wsdl:message name="Enqueue_msg">
    <wsdl:part name="opaque" element="opaque:opaqueElement"/>
    </wsdl:message>
    <wsdl:message name="Header_msg">
    <wsdl:part name="Header" element="ph:enqHeader"/>
    </wsdl:message>
    <wsdl:portType name="Enqueue_ptt">
    <wsdl:operation name="Enqueue">
    <wsdl:input message="tns:Enqueue_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="Enqueue_Binding" type="tns:Enqueue_ptt">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="Enqueue">
                   <soap:operation soapAction="put_your_own_URI_here"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
              </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="EnqueueService">
         <wsdl:port name="Enqueue_ptt" binding="tns:Enqueue_Binding">
              <soap:address location="No Target Adress"/>
         </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Good luck.
    Regards,
    Ronald

  • Oracle Advance Queue

    I am using Jdev / oc4j as my server. I have a message driven bean created which is supposed to listen to an advance queue created in an oracle db. I am having a lot of trouble deploying the application. Is there an easier way out of editing the xml files and writing deployment descriptor? Please help.
    Regards,
    Yazad Khambata.

    Hi,
    Just wondering if you were able to figure this out. I am too looking the samething. Basically MDB to listen on AQ, Can someone provide a simple example.
    Thanks

  • Bisics of Advanced Queuing????

    Hi,
    I need to write a PL/SQL stored procedure to periodically carry out some processing in the database.
    Only one instance of the procedure is allowed to be run at any point in time. If an attempt to run the procedure is made while it is currently working it should be deferred until the current instance has completed it's task.
    I think one possible solution is to use the Advanced Queuing feature in Oracle 9.
    Please. Can anyone confirm this as a good idea (if so suggest how to get started) or offer other suitable solutions?
    Any relevant comments most welcome?
    Many thanks
    Tyrone

    Sorry about the typo in the subject.
    I will need to use Oracle's batch scheduling feature (dbms_job) to periodically put onto the queue the request for some work to be done (say every two hours). My intention is to use the batch scheduling to enqueue this request.
    The sticking point for me is the configuration of the dequeuing process. Can the queue be configured to automatically invoke an event (some PL/SQL code) once the message works it's way to the top of the queue. This will help avoid a convoluted senerio of setting up another sceheduled batch process to dequeue messages every five minutes (the work to be done can be initiated from sources other then the sheduled job also).
    Thanks in advance for replies.

  • Advance Queue - Parallelism

    I'm using an queue with async. notification.
    My callback procedure will be called for every message, but its everytime the same job, so only one message will be procced at one time.
    Is it possible to configure oracle, to use more processes.
    I don't mean dispatch the same message to many consumers.
    Anybody out there who knows ??
    Even if i increase the job queue process it is taking maximum of 6 or 7 parallel queues at a time.
    Whether i have to set any other setting to AQ.
    Please give our answer on this issue it is more help to me.
    Reagrds,
    TOM

    Hello,
    I am also facing the same problem.
    I have the stored procedure which regularly takes the back up at some fixed interval. I want to do these using Advance Queuing. I wnat to do these using Oracle installed on Linux.
    Please help to have the solution. You can also reply me at [email protected] .

Maybe you are looking for