BPEL orchestration listening to 2 queues
Hi,
I have MQ configured in a cluster environment. A message could be either in one queue or the other, but not both.
How can I configure my MQAdapter in my orchestration to listen to both queues?
Thanks
John
This generally is performed by creating 2 BPEL processes, but BPEL does allow you to use the same process to get this working.
The trick is to use pick activity to create instance. I guess this post will help you.
[http://oraclebpelindepth.blogspot.com/2008/10/create-instance-with-pick.html|http://oraclebpelindepth.blogspot.com/2008/10/create-instance-with-pick.html]
Every Little Helps
Kalidass Mookkaiah
http://oraclebpelindepth.blogspot.com/
Similar Messages
-
Urgent : MDB stops listening to the queues after some time !!!
Hi,
I am using OJMS with OC4J 10.1.2 and db 9.2.0.5. I have a web application which send messages into the queue very frequently.
But the problem is the MDBs stop listening to the queues after some time (1-2 days) and no more messages will be dequeued from that point.
All these messages will move to the exception queue after their expiry.
But the dequeing agains resumes after restarting the OC4J !.
I guess, at some point mdbs are either becoming busy (locked ) or some exception occured while dequeing, hence they stop listening to the queues.
Please throw some light on this issue as it is very crucial in my project.
Regards
PrashanthI've noticed this lately as well, with my iPhone 4. I couldn't confidently pin it directly on any particular iOS update, but my iPhone used to automatically connect up via Bluetooth with my Prius's handsfree feature, and now it doesn't. I work with a CE-based device at my job, with Bluetooth capability, and I used to test out that feature by having it discover my iPhone. This no longer works either.
What I have found (not really a solution, but it does work and may be a clue for Apple) is that if I simply go to the Settings app then the General -> Bluetooth screen and let it sit there, it will pair right up with my car within a few seconds. Bluetooth is always on, and always says "Now Discoverable" at the bottom of the settings screen. -
Sevice Contract - Listener for Events Queue Issue
Hi,
The Listener for Events Queue in our Production environment ran very long, It took about 3+ hrs to complete the program. Is there any thing specific that we can check as part of RCA.
Further there were 'library cache lock' found ... how this can impact the performance and how library cache lock works.
Regards
Tauseef E AhmadHi Team,
i used the following code for recognizing the key events.
String javaScriptKeyListener =
" function keyListener() "
+" { "
+" alert(window.event.keyCode) ; } ";
OAWebBean body = pageContext.getRootWebBean();
if (body instanceof OABodyBean)
((OABodyBean)body).setOnLoad("onKeyPress = javascript:keyListener()");
but it is not working as expected..
Any suggestions ??
Regards
Sridhar -
When to got for BPEL Orchestration vs OSB Impl?
Hi
Here is the scenerio, retail industry does huge 'integrations' using osb only, now he wants to know valid reasons for introducing 'bpel orchestration'.
questions like
1. why should we consider bpel for integration between hetergenous systems?
2. what are the pros n cons of bpel?
3. can bpel handle hugh files for processing? is bpel capable of processing large files with sla performance in mind?
4. what service orchestration is possible in plain source to target integration?
appreciated it, thanks.
Edited by: user13664410 on Feb 6, 2012 11:12 PMCheck this presentation
http://www.deltalounge.net/wpress/2011/06/choosing-your-oracle-application-integration-infrastructure/
hth,
Peter Paul -
Can an MDB listens to remote queue
In my application , i have created a queue and MDB for that queue.
this MDB should also listen to the queue in another system that is remote queue.how is this possible.
because the queue will be in remote system. and MDB will be in my system. the queue to which this MDB should listen will be in specified in deplyment descriptors. then how it will identify that the queue is local or remote.
Please clarify me as we have a release near.Hello Sairam,
I have used MDB in WebLogic Server. You can add the Destination Queue, Connection factory, etc information in weblogic-ejb-jar.xml.
I am not sure what is to be used in Oracle Server.
Simple search in Oracle Website gave me some links..
http://www.oracle.com/technology/tech/java/oc4j/ejb3/how_to/howtoejb30mdb/doc/how-to-ejb30-mdb.html
Search the Oracle website for more information.
Thanks and regards,
Pazhanikanthan. P -
Hi all,
Can a MDB listen to multiple queues. If so how will be the deployment descriptor
Thanks
HashinNo.
_sjz.
"Jim" <[email protected]> wrote in message news:3d496d70$[email protected]..
>
> Is it possible to configure an MDB to listen to more than one Queue ?
-
Hi all,
Can any one tell me how to make an MDBean listen to a Queue Using JDev wizard.
Kindly help....mshreedhaaran wrote:
Hi,
Thanks to the below post(s) -
<a class="jive-link-external" href="http://ibswings.blogspot.com/2008/02/integrating-mq-broker-6-with-bea.html">http://ibswings.blogspot.com/2008/02/integrating-mq-broker-6-with-bea.html</a>
<a class="jive-link-external" href="http://www-128.ibm.com/developerworks/websphere/library/techarticles/0604_kesavan/0604_kesavan.html">http://www-128.ibm.com/developerworks/websphere/library/techarticles/0604_kesavan/0604_kesavan.html</a>
I have been able to get this far (ofcourse explained very well step by step in these posts). So MDB on WLS can pick messages from a Queue on MQ Server on the same machine.
If someone can highlight what <font face="tahoma,verdana,sans-serif" size="1" color="#000">changes</font> I have to make to get the MDB to pick message from the Queue when MQ Server is on a different machine.
Thanks in advance.
best regards,
MuraliIt's helpful to me, Thanks for your sharing! Now I understand more about it, It's quite useful. -
HELPL ! BPEL reading business events (WF_DEFERRED queue) problem
Hi all,
I'm actually trying to catch a CDH (TCA) business event using the Bpel Oracle applications adapter. The problem is that there is no visible bpel instance in the console, but in other hand i can see events being raised by CDH in WF_DEFERRED queue (messages). The event that my bpel service is listenning to is "oracle.apps.ar.hz.Person.create". The WF_DEFERRED agent statuts is "Enabled" in workflow administrator console. I'm using Jdeveloper 10.1.3.3 and EBS R12. So, did i forget any steps ? Where can i find detailed documentation about this subject ? Any help would be apreciated. Thank you,
Edmundo
I'm using Jdeveloper 10.1.3.3 and E-Business suite R12.Yes. It's running. I checked it out in the Oracle Workflow Adminstrator console. It says status: Enabled. Thank you again for any help.
-
Hi,
Could any of you please let me know what needs to be done to configure my MDB
to listen to a remote queue in a different domain (also using wls 7.0).
I tried adding the <provider-url> element in the weblogic-ejb-jar.xml but looks
like that didnt work.
Thanks,
-Sri
Posting the actual error helps. This error usually occurs due
to a naming conflict. Make sure that:
All local and remote:
WL servers are named differently
WL JMS servers are named differently
WL JMS stores are named differently
Tom, BEA
P.S. For future reference, a google search of
this newsgroup often quickly leads to answers. In this
case search for "Connection not found" or "invocableFind".
Sri wrote:
> Tom, I did. But I still get this error...
>
> [exec] <Jun 10, 2003 9:27:57 AM EDT> <Error> <EJB> <010020> <EJB-20 - Messa
> geDriven - Couldn't start the JMS connection: weblogic.jms.common.JMSException:
> Connection not found
> [exec] weblogic.jms.common.JMSException: Connection not found
> [exec] at weblogic.jms.dispatcher.InvocableManager.invocableFind(Invoca
> bleManager.java:134)
> [exec] at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Req
> uest.java:592)
> [exec] at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(Dispatche
> rImpl.java:275)
> [exec] at weblogic.jms.client.JMSConnection.start(JMSConnection.java:54
> 7)
> [exec] at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectio
> n(JMSConnectionPoller.java:1228)
> [exec] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.startCo
> nnection(MessageDrivenBeanPoolInfoImpl.java:150)
> [exec] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(M
> essageDrivenBeanPoolInfoImpl.java:223)
> [exec] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(
> EJBDeployer.java:1560)
> [exec] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:14
> 06)
> [exec] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:391)
> [exec] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationC
> ontainer.java:1039)
> [exec] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicati
> onContainer.java:1025)
> [exec] at weblogic.management.deploy.slave.SlaveDeployer.setActivationS
> tateForAllApplications(SlaveDeployer.java:617)
> [exec] at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDe
> ployer.java:376)
> [exec] at weblogic.management.deploy.DeploymentManagerServerLifeCycleIm
> pl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
> [exec] at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleLi
> st.java:65)
> [exec] at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
> [exec] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
> [exec] at weblogic.Server.main(Server.java:32)
> [exec] >
>
> Tom Barnes <[email protected]> wrote:
>
>>Check your server logs for Warning and/or error messages.
>>
>>Make sure that you specified a correct:
>>
>>provider-url
>>
>>destination-jndi-name
>>
>>connection-factory-jndi-name (needed if you disabled the default
>>connection factories in the remote domain)
>>
>>Sri wrote:
>>
>>>Hi,
>>>
>>>Could any of you please let me know what needs to be done to configure
>>
>>my MDB
>>
>>>to listen to a remote queue in a different domain (also using wls 7.0).
>>
>>>I tried adding the <provider-url> element in the weblogic-ejb-jar.xml
>>
>>but looks
>>
>>>like that didnt work.
>>>
>>>Thanks,
>>>-Sri
>>
>
-
BPEL orchestration, correlation sets.
Hi,
i'm a beginner, i have to coordinate those three projects:
is it possible with bpel 2.0?
i tried using correlation sets but bpel engine stop during the invoke in "proc.bpel".
i think it happens because "proc.bpel" doesn't know where to redirect its message (Auth first receive or Auth second receive?)
Thanks.I have three bpel processes: Portal.bpel , Auth.bpel , Proc.bpel
the full orchestrated sequence of calls is the following:
-Portal invokes first Auth
-Auth receives the call and then reply to Portal
-Portal then calls Proc waiting for a Reply.
-Proc, before replying to Portal, has to invoke Auth.
in this exaple, Auth has two Receive in its process: the first from Portal, the second from Proc.
When Proc calls Auth is not able to distinguish which Receve to point, so Auth.bpel process fails.
I've tryied to map the two different variables received by Auth (one from Portal, the other from Proc) into two different correlation sets, but it doesen't work.
sorry for my bad english.
thank you very much -
Proxy Service listening a JMS Queue
HI all,
I have a simple question.
I have an web application that write a message into a JMS Queue.
I wanna know if when a message arrives into a JMSQueue an ESB proxy can listen this queue, get the message and afterwards process it.
Thanks and Regards!Hi,
In ALSB 2.6 its very much possible. Create a proxy Service (Any XML Service) configure your endpoint to the queue. provide correct Url, Connection factory JNDI and queue JNDI to the endpoint.
Hope this helps you.
~Anup -
MDB listening to multiple queues?
Is it possible to configure an MDB to listen to more than one Queue ?
No.
_sjz.
"Jim" <[email protected]> wrote in message news:3d496d70$[email protected]..
>
> Is it possible to configure an MDB to listen to more than one Queue ?
-
Mbean that listen for jms queue messages
Hi to all,
I must use a Jmx notification listener architecture to trap when a new message arrives (i must also handle the message content) in a weblogic jms queue.
Do you know which mbean could help me to observe the new ariving message?
In the javadocs i cant' find any useful mbean to do that..
ThanksHi to all,
I must use a Jmx notification listener architecture to trap when a new message arrives (i must also handle the message content) in a weblogic jms queue.
Do you know which mbean could help me to observe the new ariving message?
In the javadocs i cant' find any useful mbean to do that..
Thanks -
How to stop listening on advanced queue
hi,
i created a java application that listens to an oracle advanced queue then automatically dequeues a messsage after listening. I've set my listen time-out to be the maximum integer value because i don't know when exactly when other applications will enqueue messages.
the problem is when i attempt to shutdown the server, my application is still listening to the advanced queue.
i want to find a way to for the LISTEN to stop whenever i perform a certain event, for example, i want shutdown my server. does oracle advance queue have that kind of functionality? stopping the LISTEN?
Thanks very much
ChescaHi Chesca,
we recently experienced the same problem.
Instead of "resolve" it, we tried to "avoid" it.
Our solution is based on 2 legs:
1) a "not-infinite" wait time, let's say 300 secs (5 mins)
2) an (outer) "infinite-loop" that relaunch the (inner) LISTEN method, catching the appropriate exceptions, and testing for the "state" of the queue
Hope this could help you.
Bye
Paolo -
How do you configure MDBs to listen on a remote queue in OAS 10g 10.1.3?
I've tried using the SonicMQ example in the container services guide as a template, but I haven't been able to get it to work.
Thanks.
DanOk I understand now. When you said remote I thought you meant a destination outside the service bus, and not an MQ remote queue. Unfortunately I have little advice to give. The documentation states:
When you create an MQ service, select the transport protocol as mq and specify the Endpoint URI in the Transport Configuration >page. Specify the Endpoint URI in mq://local-queue-name?conn=mq-connection-resource-ref format where
local-queue-name is the name of the local queue configured on the MQ server
mq-connection-resource-ref points to the location of the MQ connection resource I don't know if it's possible to use a remote queue directly, my knowledge of MQ is limited. Hopefully someone else can help. Or you could contact support and ask if remote queues are supported.
Maybe you are looking for
-
Hi all, My MacBook pro was running fine then it went very slow, I got the spinning world but it would not do anything. I tried to restart but it had frozen, so I turned off the computer by the power buttton. Now it won't boot up, it justmfreezes with
-
Hi there, please help. I am an existing Spotify user who was on PC. Then I moved to Macbook and just install spotify on my both iPad and macbook. I logged in the first time it said wrong username or password. Thereafter I have reset my password few t
-
Enter a country for partner 0000002185 with type 'Goods Recipient'
Hi everyone, We are using SRM 4.0. For a certain user we are facing the error as: "Enter a country for partner 0000002185 with type 'Goods Recipient'". Kindly help me to resolve this. This error is not occuring for any other user. Regards, Bhakti
-
HT3702 how to cancelled a purchased order because of negligence?
To whom it may concern. I have a problema with this transaction in apple iTunes store. Here is the problem I have my iPhone and its with my wife and my son in the Philppines. I dont know if he purchase accidentally all this games and apps without kno
-
Filter in the Dialog box for selection
I have report that contains a file selection dialog using the following code at selection-screen on value-request for p_file. perform f_get_file using cl_gui_frontend_services=>filetype_excel. form f_get_file using p_filetype type string. data: l