AQadapter - OSB11g

Hi all

I have a question about the AQ in OSB adapter.

My system configuration:
Oracle Weblogic 10.3.6
11.1.1.6.0 Oracle service bus
Oracle XE database

My needs: I need to query data queue on the database and put them on a different queue in the database using OSB.

what I did:
I configured two queues in the database using sql scripts.
With the help of developer J I created dequeue adapter to query the message and enqueue adapter to place the message in the queue.
I imported the JCA and WSDL in OSB project and I created a proxy service and business. I have deployed and tested. Its working fine.

But the problem here is that my project requirement which allows to choose the message using the adapter in Jdeveloper OSB.
In the tension here is using some proxy protocols that call the queue on the database using JNDI connection.in the same for the service business also.

Do we have a similar option to the use of protocols in OSB to choose the message in the queue in the database directly using JNDI to AQ adapter connection?

Can anyone suggest me on this please?

Kind regards
Krishna.

You can configure QA as a foreign JMS server and read messages from it.
See this blog for an example:

http://Tim.blackamber.org.UK/?p=1012

Tags: Fusion Middleware

Similar Questions

  • Configuration in OSB11g properties file

    Hello

    I'm looking for the best way to come up with the properties of Configuration file in OSB11g. I want to use it as a search in one of my activities in the stream of messages of proxy service.

    I can create a file and read the file using service proxy, but always looking for better or any other out of the box functinonality OSB (similar to DVM in SOA). Please let me know about it.

    Thank you
    Siva

    Re: store values of constants in OSB captures the previous discussion.
    Re: OSB: what is recommended for reading configuration information

    Please go over the links and to see that they meet your needs.

    Thank you
    Maury

  • Action OSB11g - publish error

    Hi guys,.

    I use publish action in the request pipeline to call a BS. But I get the following error. can someone help with that.

    * < con xmlns:con: fault = "http://www.bea.com/wli/sb/context" > *.
    * < con: errorCode > BEA-382051 < / con: errorCode > *.
    * < con: reason >. *
    No operation on the current thread
    * < / con: reason >. *
    * < con: location > *.
    * < con: path > answer-pipeline < / con: path > *.
    * < / con: location > *.
    * < / con: fault > *.


    Thanks in advance...

    Add Routing Options in your action with quality of service as "exactly once" to publish. Save and test again.

    Kind regards
    Anuj

  • OSB11g - I need to call a service at intervals of time-any option?

    Hey Geeks,

    I need to call a service at regular intervals - offers OSB the same?

    Here's a way to do it, not very sophisticated but it will work.
    1 put the infinite attempts on the JMS queue (no limit of attempts) and significant a delay between attempts (you may need to tweak it based on performance tests but 5 minutes seems a fair value).
    2. using the factory of XA connections to access the queue for messages can be cancelled
    3. in the Proxy service that reads messages from the queue, first make a call for audit of system B in the request pipeline status, if the queue length is less than the recommended limit and then route the message to the system B. If the queue length is more than limit and you want to delay the sending of the message, then triggers an error in the Service of the Proxy and the message will be restored in the JMS queue and retried after 5 minutes (or any value that you put in the new attempt to delay the creation of the queue).
    4. in addition, since there will be cases where messages are queued to the top, and if you do not want to try more than one message at a time, then set a work with a wire constraint Manager Max to the desired number of threads on the JMS Proxy and also reduce the Maximum Messages per setting of session Connection Factory default value of 10 to 1.

    Another approach would be to create a planner to call the process.
    1. create a planner for the BSO
    See here:
    http://blogs.Oracle.com/jamesbayer/entry/weblogic_scheduling_a_polling
    3. create a simple Java class that reads the message from the JMS queue synchronously
    2 when the Scheduler calls the OSB Proxy service, check the queue length in system B by calling the web service of State of system B.
    3. If the length of the queue is within the limit then make a legend of Java to the synchronous consumer class and retrieves the message from the Proxy of OSB
    4 to get the message to system B

  • Download osb11g

    Hello

    Where I can download OSB 11 g. (11.1.1.3.0) version. In the oracle Web site I could find only 11.1.1.4.0 available for download. Even the link saying

    http://www.oracle.com/technetwork/middleware/service-bus/overview/index.html--> 11 GR 1 (11.1.1.3) material release of points to 11.1.1.4.0 only.


    Kindly help. Also is there any download URL where I can download WLS 10.3.3 Server + EPCO and coherence as a Zip file *.exe instead.


    Concerning
    Sesha

    You can download it from https://edelivery.oracle.com
    You will need to provide some basic information after which you will be able to navigate through the products.
    11.1.1.3 OSB will be in the following structure:

    1.
    Media Pack: Oracle Fusion Middleware
    Platform: Platform of your system, for ex Windows (32 bit)

    2.
    Media Pack: Oracle Fusion Middleware 11g Media Pack for Microsoft Windows (32-bit) 11.1.1.3.0 part #B55383-24

    3.
    Oracle 11 g (11.1.1.3.0) Service Bus Part #V20960-01

  • Sharing resources to projects in OSB11g

    Hello

    We have common resources such as Service account, Proxy Server JNDI provider, resources etc. customized in our projects should be shared between different projects. Among these resources as proxy server can be created only in setting up projects and resources as service account can be created in the project of the OSB.

    I found the files in the Setup project can be used in projects. Is it possible to share resources between projects of configuration? That is to say Access Service account resident confuguration of another project of setting up project content.

    I tried with project references, but not got success. And I tried to make the java standards mechanism creation Setup project pot and add this jar to other projects, seems to be that it is not possible.

    Please let me know the best way to do this? Is anyway to share WSDL and XSD files too?


    Thank you
    Siva

    This use case of sharing of resources in several area of OSB is best dealt with OER. As mentioned Anuj each area OSB should have a relationship with EPCO Configuration.

    WSDL/XSD can be shared from one area of OSB to the field of OSB resources servlet using after mature risk assessment.
    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/Security/Lockdown.html (source servlet)

    Maury

  • Concern for Rollback transaction OSB (11.1.1.7)

    Hi all.

    I'm working on a usecase where service OSB dequeue the message AQAdapter (XA datasource) and routes to business (BPEL way).

    My problem is, whenever there is a BPEL downwards, the transaction get rollback in queue and try again for some many times.

    Then, I activated "Same transaction for answer" property on proxy and Manager of additional error at the level of the road with error recovery (or response I tried with failure).

    I am able to roll back the transaction and do try again when ever anything BPEL down, but the real problem is, it's a very new attempt BPEL is launched, even if the bpel is up and running, it's yet another attempt (able to see the BPEL instances).

    He only restores when it comes to active 'Same operation for the response', if I do not clear so there is no retry.

    I tried options like

    • adjustment of Qos in routing to only once.
    • respond successfully in the pipeline of response (when BPEL is upward).
    • allowing the transaction required so even operation for the answer.

    nothing has really changed anything

    Can someone help?

    (I know that there are similar posts on this topic in this forum, each of them tried, but they did not work)

    Thank you

    NReddy

    Problem has been resolved, could be useful to someone

    The solution is:

    • Enabled the transaction required on the proxy service property.
    • Published in BS the request pipeline
    • Used exactly once Options QoS routing
    • Add error handler with error recovery on the level of the stage (which is to be published in it)

    (even if I tried to trigger the error on the pipeline to answer, is not even trigger errors.) So, basically, he won't have to answer pipeline)

  • Expected 'Expectation' of 'QueueName. Asynchronous callback.

    Hi guys,.

    I have a scenario with AQAdapter and queues,

    where BPEL1 places a message in the queue (Q1) and other process BPEL2 dequeue it (Q1) and treaty, as well as en-queues a message in the 2nd quarter. Now the BPEL1 removes the message from Q2.  BPEL2 is the message Q1 dequeing and queued in Q2, but my BPEL1 is not able to remove the message. It shows still running, when he arrived to be trail I get this message at my second reception

    «Wait "Wait" of "QueueName".» Asynchronous callback. »

    Can any one help with this?

    Thank you

    NReddy

    Hi guys,.

    Thanks for your time on this issue. I solved the problem,

    1.I have created an ID variable in bpel1 and bpel2.

    2 assigned automatically generated key code

    3 added correlation and Messaged activity Invoke and Receive (2nd) with the ID bpel1 and bpel2

  • Asynchronous call to the OSB

    Hi all

    I have an obligation to do aynchronous call at the OSB11g. I am able to post a message in the queue using JMSProducer business, also have another proxy service JMSConsumer who read the message from the queue and forward it to the different queues using JMSConsumer business.

    My requirement is to transmit messages to different webserices/back-end and I do not expect any kind of response from the backend, just want to send an acknowledgement to, say an application that publishes the message.

    Any suggestions would be much appreciated.
    Thank you.

    Hello

    Save your webservice backend as business in OSB... Service and then use Action published in the stream of messages to call webservice even publish action is used for asynchronous calls...

    Kind regards
    Afonso Gupta

  • Service Bus (OSB) does not collect point endpoint Repository (OER) Enterprise

    Hello

    I harvest a based on WSDL HTTP Proxy Service of Oracle Service Bus (OSB) to Oracle Enterprise Repository (RJO), but the end point is not harvested. Other objects are harvested with success.

    Can someone please

    Thank you
    Umar

    (4) using the Administration System-> export resources, I exported the project OSB containing my resources (service WSDL, XSD, business & proxy). The result is a jar file.
    (5) I used the command moved in with OSB line Harvester to harvest the jar of the OSB in OER project.

    Here you make the mistake. You have to harvest metadata (deployed) run configuration and not the exported jar (which is design time). Modify the $MW_Home\Oracle_OSB1\harvester\HarvesterSettings.xml and remove the remoteQuery. Specify the Project Server and connectivity in subitem ProjectName name, URIs, and the credentials of the remoteQuery element.

    Now, run the harvester ($MW_Home\Oracle_OSB1\harvester\osb11g-harvest.bat or $MW_Home\Oracle_OSB1\harvester\osb11g-harvest.sh) and you will see end points created in REL.

    Kind regards
    Anuj

  • How the Harvest OSB in OER project

    Hi all

    I want to harvest OSB11g/UNOPS in OER 11.1.1.5.0. and these are installed on a linux machine.
    Can you please provide me with the steps to collect the OSB to RJO services.


    Thanks in advance.
    Madhu

    Hi Madhu,

    Installation of OSB contains a separate Harvester for REL and are in $OSB_HOME/Harvester.

    Best regards
    Sjoerd

  • Not able to see the cards of weblogic console

    Hello

    I installed weblogic 10.3.3 and soa 11.1.1.3 as well as the base XE and RCU 11.1.1.3 data. In the weblogic console, I am able to see DbAdapter and AqAdapter, not Abel to see the remaining cards like FileAdapter, FtpAdapter, OracleAppsAdapter. Can someone help me...

    Thanks in advance...

    Published by: 847859 on April 25, 2011 03:49

    These are the resource adapters that must be installed:

    FileAdapter
    DbAdapter
    JmsAdapter
    AqAdapter
    FtpAdapter
    SocketAdapter
    MQSeriesAdapter
    OracleAppsAdapter
    OracleBamAdapter

    you don't see anything strange about them in the newspapers?

    In the file config.xml against your domain, you should have something like this:


    OracleBamAdapter
    AdminServer
    RAR
    C:/Oracle2/middleware/Oracle_SOA1/SOA/connectors/OracleBamAdapter.rar
    329
    DDOnly
    nostage

    It aims at something?

  • Connections using WLST Pool creation

    Hello

    I have a script to create the JDBC Data Source.

    However, I am unable to find a script to create a Pool of outbound connections to this effect in deployments > AQAdapter, deployments > DBAdapter section on Weblogic Admin Server Console.

    Please help me on how to do this.

    See this.

    WLST Script to create a DBAdapter configuration

  • OSB custom Xpath functions

    I use custom XPath functions. I put all the associated files in the % OSB_HOME%/config/xpath-functions. It works very well in my development environment which is a unique domain server.

    But when I'm deploying on my new UAT environment including a multiple domain server, it gives an error.
    My server admin is port 7001 and server run on 8001. Sbconcole located on 7001, I see my custom in the Xquery function window function. I can also click on the test button in the Xquery designer view and it works very well.

    But when I activate my proxy and then use the test console to run the proxy it gives an error. Test console running the proxy on the managed server. I guess that enforcement cannot find the custom managed server jar file.

    no idea what directory I need to copy the jar file on measurement so tat it works as well in the admin and the managed server?

    just a point, when I use fn - bea * functions that it works very well. To me, it is also a custom function. But I noticed that the jar file is not installed in the % OSB_HOME%/config/xpath-functions. no idea what is the name of the jar for fn-functions of bea.

    concerning
    Roshan

    I have built custom functions and tested in the single server, and also an area of OSB in cluster. Fuctions of custom XPath work correctly in two of these area in the console to Test the OSB

    I just placed the files xml and jar containing custom under C:\beaplatforms\11g\wls1033\osb11g\config\xpath-functions functions

    osbCustomFunctions.xml
    osbCustomFunctions.properties
    customXPathFunc.jar

    You can try to restart the full Domain - Admin servers and managed and test again.

  • How to centralize files XSD, WSDL, and XSLT in OSB

    Dear members of the Oracle,

    I use the Oracle SOA suite 11 g and development of composites of the SCA is just great. The great thing about the 11 g version is MDS, which gives you an easy way to do reference XSD, WSDL, and XSLT in one place your composite of SCA. However, I played with OSB and something like MDS seems to be unknown. If I want to call OSB forms a composite SCA then I need to copy all of the WSDL and XSD files locally! No no I won't!

    Can someone explain to me a little more on OSB and how can I reference a WSDL, XSD files to a central location? Focus on the same location as that used by composites SCA of the Oracle SOA suite g stack 11. If MDS can be configured it please let me know, or any other solution would be great!

    Eager to know your answers!

    Thank you

    SR

    OSB is nothing like MDS in SOA. This topic was discussed earlier as well and you have a few options here-

    1. create a separate project of the OSB to store all the common objects and other project artifacts from this shared project references
    2. use REL
    3. you can use the resource servlet

    For more information on the 2 and 3, please see-

    How to share common XSD between several services in ALSB 3.0?
    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=1093767&TSTART=660
    Sharing resources to projects in OSB11g
    How to create a repository of OSB resources?

    Kind regards
    Anuj

Maybe you are looking for