Asynchronous messaging on Orion 1.5.2
Hello, all,
I am running Orion 1.5.2 JMS Queue and have 2 clients subscribed to it. Client A is the producer of messages and Client B is the consumer.
I use asynchronous messaging, that is Client B implements MessageListener interface and has an onMessage method, which prints the message as soon as it receives it.
Client A works fine - sends messages without any problems. However, Client B's onMessage never gets called... I tried all suggestions I could possibly find, but to no avail. If anyone has any suggestions or ideas or experience, PLEASE HELP!!!
Thank you,
Elana
start the connection on the receiver side? is the receiver using a selector that is exluding all the messages sent by client A?
Similar Messages
-
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? -
Abstract asynchronous message interface for fault (exception) messages
Hi,
Has anyone yet discovered how to create an abstract asynchronous message interface for a fault message so that said message can be referenced in an Integration Process? I am currently at a loss as to how to reference the exception message returned by a synchronous RFC call, and how to return the fault message of a synchronous MI from a BPM.
Thanks for any help you can provide on this issue - please do not refer me to existing blogs or forum messages if they do not specifically answer this question in a positive manner. I have just been through the SAP Notes and the SDN forum and Google and while I have seen many questions about this topic I have not seen any answers.
Stephenhi stephen,
never worked on this but out ofcuriosity after seeing ur question i tried to create one:
but i found these:
fault message types will only be used in case of synchronous messages.....if it is asynchronous the fault message type radio button it self will not seen while creating message interface..just check.
you need to create a Fault message type to use it in an interface...u can add your own fields also if u want.
in your present case you mentioned you are using synchronous RFC...try creating a synchronous abstract interface there you can give fault message type also...just check by creating one...
correct me if i am wrong...
regards. -
Hi Gurus!
i´already schuedule the job in sxmb_adm the deletion jobs
-DEFINE INTERFACES FOR ARCHIVING AND RETENTION PERIODS
-SCHEDULE DELTES JOBS
But I can´t find yet, some way to erase asynchronous message, any idea?Hi. Raul:
When you "DEFINE INTERFACES FOR ARCHIVING AND RETENTION PERIODS", haven't you seen there is a option to specify "Retention Period for Asynchronous XML Messages in the Database"
Under it, you can put the number of days for "XML Messages Without Errors Awaiting Deletion"
That is the place to specify how long you want Asynchronous Message Persisted in database, once the specified days reached, the message should be deleted by your scheduled job: SAP_BC_XMB_DELETE_<Client>
Regards !
Liang -
Solution to merge incoming asynchronous messages inside OSB ?
Hello,
What is the good practice to merge (aggregate) two or more asynchronous messages reading from JMS queues ?
I have to collect responses from a single request and merge them into a single message, so I have to identifie the responses in order to merge them with others responses from the same request.
Does a solution based on the SplitJoin can address this issue ?
Or do I have to store in a temporary buffer and call a Java Callout to read responses, identifie them and then remove them when all the responses have been received ?
Or is there another better solution ?
Thanks for your help.
Best regardsI am also interested in the answer to this question.
In my requirement I may have a large number of provider services so I don't want to hard code each one in BPEL. I also need to allow for timeouts, the main service should wait for 1 min and then send back all the results it has received.
I have gone down the line of combining the Scatter-Gather and Publish/Subscribe design patterns. The only problem is that the JMS adapter cannot synchronously read messages from a queue so I have built a POJO webservice to do this. -
Raising alerts in an asynchronous messaging scenario
Hi
I have a simple scenario involving asynchronous messages going from a SAP box --> ABAP client proxy --> XI --> Webservice call
Since the call from the SAP box is asynchronous, I would like to get an alert to a particular email id - if the message errored out in the XI IS or the adapter framework ( when calling the webservice )
Any pointers to documents/weblogs to how to setup this alert framework - the basis settings and the application level settings in XI ??
Thank you for your time in advance.hi,
>>.like end-to-end monitoring for the alert mechanism to work ??
yes
only from sp14 you don't have to do it:
http://help.sap.com/saphelp_nw04/helpdata/en/43/0f562f9d3b2a30e10000000a1553f6/content.htm
btw
check my weblog with altrts troubleshooting
Regards,
michal -
Websphere ,Problem in asynchronous messaging ,JMS
I'm trying to implement a asynchronous messaging through point to point communication in my application, I was getting an error like "javax.jms.IllegalStateException: Method setMessageListener not permitted" this is implemented in WSAD5.1.1.In this application my message sender program is working fine , only the message receiver program is giving me the error, that too because of the message listener being implemented.Websphere is not allowing the listener class to execute.Can anyone tell me how to resolve this problem in websphere ,It would be grateful if any provide me the solution with examples.Advance thanks for the solution.
Hi,
I am not a Websphere user but I took a look on Google for you and found the following:
http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/13/pid/831/qid/588267
Unfortunately it doesn't look promising...
Cheers,
Tom -
SAP Blog XI Asynchronous Message Processing: Understanding XI Queues
Hi,
I was not able to access this blog anymore.
It was at this link before : XI Asynchronous Message Processing: Understanding XI Queues -Part I
Can someone please send me a copy if you've saved before? Thanks.
Please email to yuanyuanlin2001 at yahoo.comhi,
the link is working and you can still access that - I've just tried
Regards,
Michal Krawczyk -
Define Web Service - Send Asynchronous Message
Hi All,
I have to send an asynchronous message from a java web application to XI. For this I tried to used the Define Web Service option in XI. However the documentation says that this tool can be used only for Synchronous interfaces. Is this the case even now? What would be an alternate approach to accomplish this?
Thanks,
SandeepHi,
As explained above , no need to have the webservice only in the case of Sync communication , you can also achieve this by way of generating the WSDL from ID -- tools and added the Quality of service = EO.
Please see the below links to get more details
ThirdPart(WebService) <=> XI <=> SAP(Async)
Check this SAP Help-
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Async web service.
Communication between SAP System & Webservice Using Proxies - /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
Also see the below links about webservices
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Regards
Chilla..
<i>Points rewarded if it is helpful..</i> -
Asynchronous messages without errors to be flagged
Hi all,
I have 200,000 Asynchronous messages without errors to be flagged. But there are no entries for Messages to be deleted. Everytime I run RSXMB_DELETE_MESSAGES, i get a runtime error. When I run the job SAP_BC_XMB_DELETE_888, it is always canceled.
Please help.
ThanksHi,
>>>I can only archive messages after the job has been activated. That's the problem because there's no archiving job yet.
first you need to archive then you can delete only
Regards,
Michal Krawczyk -
Using alsb for asynchronous messaging
hello @ all,
I like to implement a kind of asynchronous messaging.
It is only possible with the Routing mechanism (see http://e-docs.bea.com/alsb/docs21/consolehelp/proxyactions.html).
But the Client can not perform other works while the server prepares it response.
The question is: How can I use asynchronous messaging, when a client send a request and can continue performing other work while the server prepares it response and the server can notify the client when the response is ready?
The white paper from BEA (http://dev2dev.bea.com/2006/04/AL_Service_Bus_wp.pdf) and other documentation from BEA promise this kind of messaging style.
I use only http for transform Messages. Accordingly I like to accomplish SOAP communications over http for asynchronous requirements.
Can anybody help me to accomplish any scenario with the Aqualogic Service Bus in an asynchronously way?
thanks a lot
FabioAsynchronous messaging using HTTP is possible.
Please follow the below link for documentation
http://e-docs.bea.com/wls/docs91/webserv/advanced.html -
How are the asynchronous messages persisted
How are the asynchronous messages persisted ??
thanks
kumarHI Kumar
1. Asynchronous Messages in XI are stored in database permanently
2. After processing the message, Integration Engine makes a datbase commit explicitly and the processed message is stored in the database.\
3. Async Messages can be restarted when they go into error
4. Asynchrous messages while being sent if there is some problem in connectivity or something the message persists and when the connection is up,it tries to send it again
Cheers..
Vasu
<i>** Reward Points if found useful **</i> -
hi!
i have to implement asynchronous messaging in my application and report on quality of service attributes, specifically examining
Best effort, non-transactional
Guaranteed, non-transactional
Guaranteed, transactional
does anyone know of any tutorials/articles that discuss these attributes or provide more info on them
thanks
ahave a look at the sun jms tutorial which is available online for a discussion of the various QOS options available in jms.
regards, thomas
www.arjuna.com -
Is there any way to turn off the persistence of a Asynchronous message
Hi All,
We are in design of an interface, this interface reads the huge files everyday(cumilative size of all the files is more than 200MB) and moves to SRM proxy. Since the file adapter is involved, this interface is going to be a Asynchronous Interface, which means the message will be persisted in the Database and this database tablespace will be filled soon after go live or will be getting "out of tablespace".
Now I am wondering is there any way we can turn off persistence of this huge message payload?? (if required I am ok using MOD or any enahcement on ABAP/JAVA)
Thanks In advance for your help,
LaxmanLaxman,
One option,
http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/content.htm
+Set logging in the message header. This means that this message is logged even if logging is deactivated explicitly in the configuration. The logging information is part of the message header:
¡ <SAP:Logging>1</SAP:Logging>
Activates logging explicitly.
¡ <SAP:Logging>0</SAP:Logging>
Deactivates logging explicitly.+
Check this thread on how this can be achieved,
Regards
Bhavesh -
SOAP Adapter + asynchronous message + Runtime Workbench
Hi
I have problem with error monitoring in Runtime Workbench -> Message Monitoring
I have SOAP adapter deployed on Apache Axis.
I have flow SOAP->XI->SOAP (asynchronous mode)
It works great until receiver adapter generate error.
I can see error message in defaultTrace log but in
Message Monitoring-> Details I see only "SOAP: response message
contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault".
SOAP message from receiver adapter (with error) looks like that
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Client</faultcode>
<faultstring>Internal Server Error</faultstring>
<detail>
<myfaultmessage>
<type>RABAX_STATE</type>
<message>Divide by 0 (type 1).</message>
</myfaultmessage>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">pslupkowski</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I'm think that this message is not well formated and
Adapter Engine can't find some tags during parsing this
message. Any ideas how to solve this problem?
I'm just want to see error description from <myfaultmessage> tag in Message MonitoringHi,
Did you check the log on adapter engine?
http://<host>:<port>/MessagingSystem/monitor/monitor.jsp
Take a look to this monitor, here you can see both messages (request and response).
Cheers,
Ricardo.
Maybe you are looking for
-
Best Buy Geek Squad TV Warranty is Terriblw!
I'm in my third week of waiting and I still don't have my TV repaired! What a frustrating experience! I called Best Buy Geek Squad 17 days ago to report that my TV stopped working. I had purchased the repair warranty so I assumed I could get it fixed
-
Can I use my time capsule as a bridge?
Basically, I have something that uses ethernet to connect to the internet, not wireless, and I don't want to put this thing in my office where my router is. My time capsule however, is right next to it, and I see it has ethernet ports on the back of
-
Left Speaker NOt Working.
Hi Team , HP Pavilion g6-1312TU NB Left Side Not Working .
-
While accessing Integration Directory (No authorization for this action)
Hi, I am getting below error, while accessing Integration Directory it is showing (No authorization for this action I had provided necessary authorization to XI* users & j2ee_guest, j2ee_admin. below error is in application.log #1.5#0019BB24F5460065
-
How can i smooth my graph?
hello guys. i want to smooth out my graph so i can distinguish big peaks (pitches) in it from other spurious smaller peaks.how can i do that?is there a way to make it more visual easy for someone to see the big peaks or to emphasize even more the big