How we handle JMS Ditributed queues in PI ....
Hi
i have a scenario where i have to pick up the message from distributed queues ...
so how i configure the sender JMS adapter to pick up the message from the distributed queues...
if its possible then Queues name should be the same in diffrent destinations..?
S V
Have you read thi blog?
/people/roberto.viana/blog/2008/10/09/working-with-jms-distributed-destinations-in-sap-pi
Regrds,
Roberto
Similar Messages
-
How to configure JMS queue on OC4J server. Development in JDeveloper 10G
Hi there,
I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
I am facing a problem on how to configure JMS queue.
Steps Followed are:
in the <JDevloperHome>/j2ee/home/config
1. Made the new queue and connection factory's JMS entry in jms.xml.
2. Specifed the queue in oc4j-connectors.xml.
3. played around with application.xml
and tried all combinations, but the message producer always failed to lookup the queue.
Need help on the steps to follow so that the producer can post the message in the queue.
Also please help how to configure the MDB to listen to the queue.
Thanx and Regards
SubhamIf you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool. -
How to configure a error queue for weblogic jms topic
Hi guys.
I want to configure a error queue for weblogic jms topic. Wanted: The message goes to error destination when messages have expired or reached their redelivery limit.
1. using jms transport configure proxy service:
Retry Count :3
Retry Interval:10
Error Destination: ErrorTopic
Expiration Policy: Redirect
I tried use the proxy service to consume message from the jms topic . and generation an error in the proxy message flow. But the message didn't goes into the error topic.
Any suggestions for this topic? Can anyone provide some helps or any useful links.
Thanks in advance.
MingzhuangMingzhuang
I want to configure a error queue for weblogic jms topic. Wanted: The message goes to error destination when messages have expired or reached their redelivery limit.
1. using jms transport configure proxy service:
Retry Count :3
Retry Interval:10
Error Destination: ErrorTopic
Expiration olicy: RedirectUnlike File/SFTP, JMS proxy service definition does not have the concept of Error Destination. To accomplish similar functionality go to JMSQ on (for which proxy is configured) server console (http://localhost:7001/console) and configure the Error Destination. Following URL will help in how to configure JMS Q.
http://edocs.bea.com/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ConfigureQueues.html
http://edocs.bea.com/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ConfigureQueueDeliveryFailure.html
I tried use the proxy service to consume message from the jms topic . and generation an error in the proxy message flow. But the message didn't goes into the error topic.If every thing is configured as per above step, then the after retries, the weblogic server will put the message into JMS topic configured. Your proxy will receive from this topic.
Let me know if we are not on same page.
Cheers
Manoj -
How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?
How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?
If you want to use JMS with AQ as datastore then there is some configuration you need to do to enable this. This is outside SOA Suite per sa, e.g. no adapter required.
If you want to connect to the AQ direct then use the AQ adapter.
this blog may be of some help understand the configuration
http://biemond.blogspot.com/2008/01/oracle-jms-with-esb-and-bpel.html
cheers
James -
How to handle Queue blockage due to application error in BPM
Hi
In the integration process that i have created, there is a SyncSend(calling a webservice using SOAP adapter) Step.
Sometimes the response message from the receiver application may be a Fault message.
Whenever a fault message is sent back to integration process in XI, the message fails and the queue is blocked.
Bacause of this queue blockage , the next messages to be processed are getting blocked.
How to handle this?
Thanks
Ramdo you have configured the fault message mapping in the Operation Mapping? what error does the sxi_monitor display?
-
How to delete JMS Queue using WSLT thru JNDI?
How to delete JMS Queue using WSLT thru JNDI?
Hi,
You can use the following WLST script to delete the queue :-
edit()
cd('/JMSSystemResources/MyModule/JMSResource/MyModule')
startEdit()
cmo.destroyQueue(getMBean('/JMSSystemResources/MyModule/JMSResource/Mymodule/Queues/MyQueue'))
activate()
Is it what you are looking for?
I hope this helps.
Regards.
Edited by: mchellap on Dec 11, 2008 4:27 PM -
How to handle faults in JMS Server ?
Hi,
Can any one tell me how to handle faults in jms server. I am new to this environment.
Regards,
Raju.Hi,
This may be helpful...
http://docs.oracle.com/cd/E23943_01/web.1111/e13738/troubleshoot.htm#g1139030
Cheers,
Vlad -
How to manage jms queue?
How to manage jms queue. I want to do operation on messages on jms queue like deleting the messages and hold the message for some time . Please provide the sample code for that.
Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
+Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
Lucas. -
How to config JMS queues for non-AQueue products? Only config files?
Assume I have the requirement NOT to use Oracles built-in Aqueue JMS provider but use another (external)product like:
Apache ActiveMQ, JBossMQ, IBM MQseries,... instead.
Can I config these JMS products through OC4Js web browser config web pages as well or am I forced in such cases to use configuration through XML config files?
How do I tell OC4J NOT to use internal JMS Aqueue queues but use other JMS product?
Peter"lilian zhu" <[email protected]> wrote:
>
Hi,
i am having a admin server running on port 7001 for servlet1 and managed
server
running on port 8001 for servlet2. how can config the httpd.conf to make
the apache
web server recongize both uri path?
i tried <IfModule mod_weblogic.c> WebLogicHost localhost WebLogicPort
7001</IfModule>
and <IfModule mod_weblogic.c> WebLogicHost localhost WebLogicPort 8001</IfModule>,
only can recongize port 8001.
i also tried WebLogicCluster localhost:7001,localhost:8001, doesn't work.
i would like to know, for my case, will the clustered server work, how
can i make
this working for non-clustered servers?
Thanks.
Lilian
Hi,
we have the same problem. We are running two non-clustered weblogic servers and
we want to configure only a failover
with the plugin.
We contacte the bea support but we haven't find a solution.
Greetings
Hans. -
Get data from a JMS XML queue and save it in a file
Hi,
Here I come with my issue again.
I'm trying to test a JMS XML implementation with ODI 10.1.3.4.0 and my target is a single delimited file.
I made simple things, my XML contains the following code :
+<?xml version="1.0" encoding="UTF-8"?>+
+<test><id>456</id><value>789</value></test>+
In the target file, I specified that I wanted a header line, the id and the value, separated by a tab.
I send only one message, before executing the ODI interface or package. The queue is persistant. There's no problem from the queue, I manage to read JMS messages with a little program I made.
The result is also simple : there's no data in the file (not even the header), though it's well created by ODI, and there's no error in the opertor, it's as everything went well.
Here is the settings I did in ODI :
Topology : JMS XML Queue config
Name : JMSXML_TEST
Technology : JMS XML Queue
I've a user and password set.
JNDI Auth : simple
The user and password are the same as above.
JNDI protocole : not defined
JNDI Driver : org.jnp.interfaces.NamingContextFactory
JNDI URL : jnp://localhost:1099/?re=test&d=<DTD_FILE>&s=JMSXML_TEST_SCH&JMS_DESTINATION=queue/TestQueue1
The connection test is OK.
Model
The JMS XML model is reversed from the DTD.
There is only one datastore named TEST with an ID and VALUE columns, and other columns usefull to ODI.
The target is a file represented by a datastore also named TEST with ID and VALUE columns.
Project
I created an interface with the following configurations :
- The staging area is the sunopsis engine,
- The source datastore and target datastore are the two described above,
- The LKM is JMS XML to SQL, the IKM is SQL to File Append
- The JMS_COMMIT option is set to yes
- The SYNCHRO_JMS_TO_XML is set to yes
- I added manually a NEXTMESSAGETIMEOUT in the options list because it was missing
- The IKM settings are all set to yes (INSERT, TRUNCATE, GENERATE_HEADER).
I also created a package containing this interface.
Everything is done in the global context.
Everything is installed locally on my computer : the program sending the messages, the JMS provider and ODI.
The problem is I don't know where the problem is and neither ODI.
In the operator, there is 0 insert and the error code is 0.
Thanks in advance for any insights.
Marie
Edited by: Marie123456 on 21 août 2012 10:36Hi,
Since I still have problems on this subject, I would like to share on how it progresses.
Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
The connection test is still OK.
I tried to increase the value in the user's pref but there's no change. -
How to handle parked message in BPM?
Hi,
I have a scenario that buyer as R3 send PO(same PO number) change idoc multiple times into bpm without receiving PO change confirmation(from seller, non R3) yet, I have a loop in bpm to handle this case, the loop checks the condition whether confirmation matches change request, if not, potential loop repeats. However, if I have multiple change request(same PO number) sent from R3 to BPM, my BPM waiting for my order confirmation, then if the first order confirmation comes into BPM matches with the first change request, then I exit the loop, but I still have several change requests parked at processXXXXX yet to be processed, does anybody came into similar situations? Any good suggestions or examples?
Thanks,
MaggieHi there,
I need to correlate ChangeConfirmation to ChangeRequest with PO number, this is for the purpose of ChangeRequest waiting for Confirmation for the same PO number. However, I don't know how to handle multiple changes come into BPM without confirmation yet, my current design is that I immediately enter a loop in BPM, with condition confirmation Info doese not match change info, thus the change request is bundled with bpm process, once the porcess is finished(response match change request), the queue of my other change requests(the parked ones) now got deleted, does anybody have any good suggestions in handling multiple change request(for same PO number) in bpm? Is there a way I can force bpm to handle one request one response, throw some error message if multiple changes comes together without response yet? Anybody had encountered similar issues?
Thanks,
Magge -
How to read JMS message properties from BPEL or BPMN process
Hi all,
I have a JMS Adapter that consumes messages from a remote ActiveMQ queue and I don't find the way the get the properties of the JMS message as I would like to map them in BPEL or BPMN process variable. I only manage to get the content of the message.
I've also read that if using a MapMessage, one of the map entry can be mapped directly and that the other map entries go to jca.jms.Map.xxxx where xxxx is key of the map entry.
But how can I map those "jca.jms.Map.xxxx" properties on process variables ? and how to map JMS Properties (that seem to be mapped on jca.jms.JMSProperty.xxxx) to process variables ?
I use SOA Suite version : 11.1.1.4.0
Thanks for your helpSOA Suite 11g - how to set/get JMS headers ?
-
Flex with JMS Topic/Queue for Asynchronous messaging
I have been working on Flex and JMS integration using Data
Services for Asynchronous messaging. I am able to do this
successfuly. Now I am in need to do the same without using the Data
Services piece.
For doing this I have done the following ......
I have created a JMS Webservice in the Oracle JDeveloper 10G
along with Webservice Client.I am able to Listen to JMS Topic/Queue
( this has been created in the Oracle AS ) using this Webservice
and receive the messages from this JMS Topic/Queue
Asynchronously.....
But If I need to use the Flex Client , I am not able to
Communicate with this Webservice to listen to the JMS Topic/Queue.
Did any one in this forum tried to communicate with JMS
Topic/Queue without using Flex Data Service.If so please share your
inputs.Here is my confusion (I'm using J2EESDK1.3).
On a local server I did the following
j2eeadmin -addJmsFactory jms/RemoteTCF topic -props url=corbaname:iiop:mars#mars
In the app client running on the local server I had the code
ic = new InitialContext();
// JNDI lookup. The resource factory ref points to the
// Remote Connection Factory I registered
tcf = (TopicConnectionFactory)ic.lookup("java:comp/env/jms/TopicConnectionFactory");
// The env ref points to jms/Topic of the local server
pTopic = (Topic)ic.lookup("java:comp/env/jms/PTopic");
So I'm assuming that I'm using a connection factory that connect to mars and a Topic on the local box.
On remote server mars, I deployed a MDB which use
jms/TopicConnectionFactory and jms/Topic. But I'm thinking this jms/Topic and the one I used on the local box are not the same one. Right? Then how could the app client and the MDB share messages?
Some of my explanation I don't if it makes sense or not.
ConnectionFactory is a way to tell what kind of connection it could generate (Queue, Topic, Durable etc) and Where the connection would go to (local or remote).'
As for as destination, I'm not sure. How could two server share one Topic? -
How to run JMS in multiple machines?
hello all,
i am new to jms, so please let me know how to run jms in multiple machines.
i mean, iin one machine publisher and the queue/topic are running, in other machine listener/clent. so client and the publisher must be running in an application servers. so it means only two app servers can send and receive messages?
then what is the advantage of JMS?
I think the sender will be sending messages and the listener can get them at later time, is my understanding is correct?
Please let me know how it works in multiple machines? and how shold i start now?
please give me the details....
thanks in advance.
charanHi Charan!
If I understand your questions right, yes, you can use JMS on several physical machines. They connect using JNDI.
However, you cannot communicate asynchronously through JMS alone. The benefit of JMS is that you have a common interface to use when talking to a messaging provider, like WS MQ, Sonic MQ, etc. Most vendors support JMS, and those who do are called JMS providers. They are required to implement either the Queue functionality or Topic functionality (or both). When using a JMS provider, you really see the benefit of JMS. How else would you secure that your system is loosly coupled? Also, by using JMS and Message Driven Beans you get the benefits of container managed transactions, object pooling, etc.
If you do not have a JMS provider, you still have the benefit of a loosly coupled system by using JMS to integrate your applications, but in a large system, you should consider a tool for asynchronous messaging(again WS MQ, Sonic MQ, etc).
I would recomend you start by reading the JMS section of the J2EE tutorial provided by sun.
-K- -
I need to create a JMS dynamic queue and wait to listen in that queue for say 5 secs. Can anyone explain how this works. i.e I want to know what will happen after 5 secs. Will I receive a JMS Message object which is null or it will throw some exception. How do I know that it has timed out.I need to implement some logic based on the fact that the message has timed out.
Why can't use a timer whereby onTimeOut simply compare the present time and the time the listener starts listening to the dynamic queue. If this is above 5seconds then do what soever you intend doing
Ivo
Maybe you are looking for
-
How do I connect my goole chromebook to my hp3510 printer
hi, can you please help me, with my questions
-
External (outside display clock) will not show
I upgrade my operating system on Blackberry.com. Now the external display on the flip is the t-mobile logo. I tried fixing it in the "clock settings" under "clock face," but that didn't do it. Does anyone have any ideas how to change it back to the c
-
Finding photos in iPhoto 6.06
Long time Mac user. Long time iPhoto user. First time poster. What happened to being able to find photos by dates? I use fotki.com to store photos online. I recently tried to upload photos from the latest version of iPhoto to fotki and discovered tha
-
ViewObjects Order by clause with DECODE
Hello! I am using Jdeveloper 11g, version 11.1.1.2.0. The problem I'm having is this. If I use a DECODE statement in view objects ORDER BY clause, I get an error: "java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 2". Let me gi
-
Hi, I want to display PDF's with multiple pages as a slideshow. This is possible with a default Adobe Reader and have this working for ONE pdf file. But I want do display multiple PDF's as a slideshow, the one after the other. In Adobe Reader you can