JMS adapter settings for response to dynamic queue

Hello,
We are sending a message through JMS to SAP in a synchronous manner (client waiting for the reply after sending the request). The SAP is receiving and processing the message.
We configured the JMS Sender & Receiver channel as per solution given in SDN for the quetion. ( (2.8) Does the JMS Adapter support the JMSReplyTo feature? )
1. In Sender communication channel, checked the "JMS Message ReplyTo Destination" attribute  of 'Adapter specific message attributes'
2. In Receiver communication channel, added the "JMS.Message.DynamicDestination" parameter and value 'true' (without quotes for both strings) in "Set JMS Additional Parameters" table
3. Added the "JMSReplyTo" header syntax in input xml message as below:
                    a. Message : <?xml version="1.0" encoding="UTF-8"?>
                             <ns0:getEmployeeInfo xmlns:ns0="namespace">
                             <employeeId>0000001</employeeId>
                             </ns0:getEmployeeInfo>
                    b. Destination = com.someDestination
                    c. JMSReplyTo= com.someReplyQueue
We have selected Transport protocol option "Access JMS Provider Generically"
But it is not able to send the reply to replyTo destination of the message.
Wondering if there is anything in the JMS Adapter setting like reply to Destination (technical term DCJMSReplyTo) which can be set to reply queue of the message (to a dynamic destination).
Please let me know in case anybody knows about the same.
Thanks & Regards,
Jayashri Rade

Refer: http://docs.oracle.com/cd/B14099_19/integrate.1012/b25307/adptr_jms.htm
•The JMS API specifies three types of acknowledgments that can be sent by the JMS publisher:
◦DUPS_OK_ACKNOWLEDGE, for consumers that are not concerned about duplicate messages
◦AUTO_ACKNOWLEDGE, in which the session automatically acknowledges the receipt of a message
◦CLIENT_ACKNOWLEDGE, in which the client acknowledges the message by calling the message's acknowledge method

Similar Messages

  • Sender JMS adapter configuration for IBM MQSeries

    Dear All,
    i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
    i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
    in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
    1. Transport Protocol: Websphere MQ - is it okay?
    in JMS provider settings:
    2. in channel name - what should be there?
    3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
    4. JMS Complaint - whether WebsphereMQ or JMS API.
    in JMS Settings:
    5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
    6. JMS Message Selector - what data to take here.
    So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
    Regards,
    Rajeev Gupta

    Hi Swaroop,
    you can send me those documents at my gmail-id : [email protected]
    Hi All,
    one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
    Why Channel name is required in JMS configuration data?
    Thanks,
    Rajeev Gupta

  • JMS adapter transaction. Rollback message to queue.

    Hi all !
    A have question about jms adapter transaction. My composite application has 3 steps : JMS adapter (listener), mediator, WS adapter. JMS adapter listen queue push message to mediator, mediator invoke web service. If ws not available (server down), mediator try recovery 5 times. After 5 times, reject message from queue. I wont rollback message to queue. I saw examples with JMS + BPEL, but it not help me. Anybody can help me.

    Hi,
    You don’t need to catch a mediator fault – you can let it rollback to the JMS Queue and let the Queue do the retries.
    To get the retries working, log in to the weblogic console and navigate to JMS Modules -> Your Module -> Your Queue -> Configuration -> Delivery Failure
    Here you will find options for Redelivery Limit. Set this to the number of retries you need.
    Then navigate to the connection factory you want and set the redelivery delay.
    This should get your desired behaviour, but once the message has failed it will be discarded. If you prefer to put it on an error queue you can create an error queue, and in the original queue’s, goto Delivery Failure, change the expireation policy and set the Error Destination to be your error queue.
    Hope that helps!
    Robert

  • Sender AS2 adapter settings for Asynchronous MDN

    Hello,
    I need to configure the settings for AS2 sender adapter for Asynchronous MDN.
    In order to configure the asynchrounous MDN Settings which parametrs i need to fill in the channel from below
    1) Use Proxy
    2) Proxy Server
    3) Proxy Port
    4) Proxy User
    5) Proxy Password
    6) Proxy Realm
    7) Proxy Protocol
    8) Server Certificate (Keystore)
    9) Private Key for Client Authentication
    Thanks
    Srinivas

    Hi,
          The MDN asynchronous mode is for the AS2 receiver adapter and not sender.
    If you want to use a proxy server, then only you would need to provide the details that you have mentioned and if you are using encryption, you would need to provide the encryption certificate in the corresponding receiver agreement where the comm channel is used.
    Also, for asynchronous MDN, you would need to configure a report channel (AS2 sender adapter with message protocol reports) and sender agreement. You need this even if Refer to XI system option is disabled in the AS2 receiver adapter.
    Regards

  • JMS adapter config for Sonic MQ Failing

    Hi
    I am trying a simple scenario using JMS adapter with Sonic MQ. The deployment is thru using SDM and Sonic_Client.jar ( JMS client library ) is deployed.
    However activating the adapter fails to initialise it. In adapterframework , i get Vague messages saying "Receiver Channel. Details: null" which doesnt help to troubleshoot . The same happens for Sender channel as well.
    Any pointers on how to troubleshoot wud be great ! log files !!??
    Thanks
    Saravana

    Hi,
    I had similar problem , when I started off with the same scenario. You need to delete the files under javax/jms and create a new .sda acrhive and load it thru SDM.
    You should be all set .
    Good Luck,
    Narendra

  • FTP adapter settings for Anonymous login

    Hi All,
    Can any one tell how to configure the oc4j-ra.xml under the FTP adapter as i am using FTP adapter which did not have any login credentials(Anonymous login)
    Thanks andRegards,
    Nagaraju .D

    Hi ,
    I have an FTP server which dont require any credentials when i using the settings i am leaving blank for username and password then it is throwing runtime error
    Thanks and Regards,
    Nagaraju .D

  • JMS adapter error for FILE - XI - WebSphere MQ

    Hi
    We are facing an issue for a File to websphere MQ (5.3) implementation.
    When we run the interface , it is giving an error in the run time work bench , Adapter error:
    Exception caught by adapter framework: null
    Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    Would also like to know if we need to mention  Channel Name while configuring the adapter.
    we have already placed the required driver for WebSphere MQ in XI server i.e com.ibm.mq.jar , com.ibm.mqjms.jar ,com.ibm.mqbind.jar

    Hi John,
    If you are working with IBM MQ 5.3, you would also need connection.jar deployed in the JMS driver.
    You can mention the MQ channel name in the Receiver channel configuration in XI.
    Ensure that the listener service on this channel is started.
    More info at Re: XI--WebSphereMQ : Receiver Channel Inactive in MQ
    regards,
    Paparao

  • FTP adapter settings for SFTP connection

    We are trying to connect an FTP adapter to a SFTP server.
    After solving the license problem with Maverick/3SP class, the error we get now is:
    "The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server."
    Have done all steps required, set up the oc4j-ra.xml file, adding the license file to the jar, etc. The settings are as usual (following the instructions in the manual): password authentication, port 22, etc.
    Taking a look at the SFTP/OpenSSH server log, we can see that OAS tries to connect, but the last log entry is "fatal: Read from socket failed: Connection reset by peer.". Of course, if we try to connect through the SFTP client from the OAS machine to the SFTP server, we can do it with no problems.
    What can we do?

    Log a Service Request with Oracle. We are working with Oracle to resolve SFTP related issues as well.
    Good luck, Sjoerd

  • MDB,MDB container or JMS adapter stops processing messages from JMS queue

    Hi guys,
    we have created a component using Enterprise Java Beans, let's say a product catalog, deployed it on a Glassfish v2 instance, and connected it to a legacy system using JMS and Sun MQ v4.1 as messaging system. The catalog component thus starts one MDB that listens on a JMS queue, let's say a queue named catalog_business_events_in, and waits for incoming messages, i.e. in our case update events. The problem is, that in general this approach works well, but sometimes the MDBs/JMS adapter stops for some reason fetching and processing messages from the JMS queue. We don't know why - no exceptions, etc.. Seems to be a Glassfish EJB container, JMS adapter or Sun MQ configuration issue. It seems to be that our component is not the problem.
    The messages are compressed/uncompressed by Sun MQ automatically. We actually have 2 Sun MQ instances in clustered mode running to have some kind of failover - no HA cluster, yet. Sun MQ instances are accessed from Glassfish instances running in different Glassfish clusters - so we have a dedicated Sun MQ cluster not a Sun MQ instance per Glassfish instance. Each Glassfish instance is configured such that it knows both Sun MQ instances to allow automatic failover.
    Has someone an idea, why the MDBs/ MDB container/ JMS adapter - stops processing messages? We are kind of puzzled as it happens more often now and apparently when traffic is (very) low not high!
    Thanks for your help.
    Cheers,
    Martin
    Edited by: east1979 on Jan 13, 2009 8:06 AM

    Hi Manoj,
    I have a very similar if not identical issue,
    Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
    15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
    TION TO CONTINUE.
    15/11/12 09:10:15  Communication Error. See real time job log for details.
    Dump available:
    https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
    Version of DS:14.0.3.273
    Any comments?
    Thansk and kind Regards,
    Kenneth

  • XI JMS adapter after JMS provider reboot

    Hi All,
    I have problem with XI JMS adapter. Adapter is in a JMS client role and JMS provider is Tibco. After reboot of JMS service in JMS provider, XI JMS adapter loose username and pw in connection and try logon to queue as an anonymous user.
    After deactivation + activation of XI JMS adapter, connection seems to work correctly with uname & pw.
    In JMS adapter we have folloving settings and we are connected straight into queue:
    Transport Protocol = SonicMQ JMS Provider
    General JMS Settings:
    Transactional JMS Session is in use
    Delivery Mode of Message Producer = Persist JMS messages..
    + Queue user & pw
    Error Handling Settings:
    Wait After Message Error(msecs) = 60000
    Wait Before Reconnect(msecs) = 60000
    Does anyone ran into this earlier?
    Thanks in advance.
    -Kimmo

    Hi Saravana,
    It seems that no connection is available to queue. In JMS adapter are you using correct path for finding these provider specifig classes in front of class name. Example: javax.jms.QueueConnectionFactory
    It is also possible that username of JMS provider which you configure to JMS adapter does not have correct rights for reading/writing or accessing to queue.
    We are not using any additional settings for JMS adapter. For server name we have also added protocol which is tcp://<servername> and using transactional JMS session.
    We had this same error when trying connect to queue via JNDI. Then we changed JMS adapter to connect straight to queue and it started to work.

  • Configuring JMS adapter

    We have 3 instance of BPEL process manager - DEV, TEST and PROD. Once development completes in DEV instance, it is moved to TEST for testing and then to PROD.
    When the BPEL process is moved from one environment to another, we have to manully change the JMS adapter settings like IP address etc (3rd Party JMS Topic). This sometimes causes error due to human mistake.
    Is there any method by which we can maintain a seperate configuration/properties file wherein these details can be maintained and referenced in JMS adapter WSDL so that we need not change the settings of JMS adapter everytime we migrate from one env. to another?
    Regards

    Just to understand your problem a little better, say you have processes A and B that you promote b/w these 3 environments. Also, say A is a standalone service invokable by external clients; say B is a service that is invokable by an external client and called by A as well.
    Now, in this example, both A and B have web-service end points that change from one env to another.
    W.r.t process A's caller, it should know the correct endpoint to invoke the service. Now if there is just one external client that is switching b/w the various environments, it has the responsibility of making this switch b/w the various endpoints (dev to test to prod). Now if this external client is an Oracle BPEL process as well, refer to solution below.
    As far as process A's implementation goes, yes, it would have to change to invoke process B correctly. So, in dev, A should call B in dev; in stage/prod, A should call B in stage/prod. BPEL PM provides a solution to accomplish this via a customize ant task - refer to the section titled "Deploying to Multiple Environments with Different Configuration Values" in "Oracle® BPEL Process Manager Developer’s Guide 10g (10.1.3.1.0) B28981-03". Nothing changes for B across these three env as it is not invoking any other internal services.

  • Restrict message volume through JMS adapter (not individual message size)

    Hi, does anyone know of a way to restrict the flow of messages through a JMS adapter? For example, If I wanted to only allow up to 1000 messages to be sent in an hour to a particular system. The rest should just be queued in the Adapter Engine until the next hour begins in order to smooth out the load on the recieving system.
    I know this is poor design but there is a system that is getting overwhelmed and cannot be easily changed right away. I'd like a way to control this from the middleware using standard PI (no ccBPM).
    Any ideas?
    Thanks in advance,
    Aaron

    Stefan, thank you for the idea, that is a good one.
    I'm going to assume there is nothing specific we can do in the SAP JMS adapter to control the flow, and look to a solution in the queueing software like you suggested or the 3rd party application.
    -Aaron

  • JMS Adapter Testing

    Hi Team
    I am using the JMS adapter as a sender and the idoc as receiver. i want to test the  End to End scenario. i am using the Transport Protocol as " Access JMS Provider with JNDI".
    I have been provide by a program which helps to write the xml message into the queue.
    My doubt is how to run this program and where to run this java program??
    this is the first time i am developing scenario by using the JMS adapter
    Awaiting for your replies
    thanx

    Hi,
    Are you trying to test the scenario JMS -> PI ?
    If you are trying to add a message to the queue, you can use MQ client software to do this - this allows you to connect to a remote queue manager and add messages to any queue on the queue manager.
    Cheers
    Colin.

  • MQSeries Server Settings for connection to XI server

    Dear All,
    I am doing MQSeries 5.2 -> Sender JMS adapter-> XI -> Receiver RFC adapter -> R/3.
    Can anybody suggest me what are the things in MQSeries which should be running at MQSeries server(like queue,channel, queue manager - their types) to get a message by sender JMS adapter in XI?
    Should the queue manager be of local or remote type? If it local, then can XI connect to this queue manager in MQSeries.
    In the above things, i am asking only about MQSeries server things and not of XI server things - just to clarify.
    So if somebody has connected MQSeries server to XI server, then please give replies to my above queries. It is slightly urgent.
    Thanks and Regards,
    Rajeev Gupta

    Dear Chirag,
    i have already deployed the JMS adapter correctly in XI server.............
    i want to know is anything left on MQSeries server for me to do as a prerequisite to send message to XI server........
    So please reply to my above queries.
    Currently i am getting the following error in my sender JMS adapter:
    Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '<IP_ADRESS>:<MQ_QUEUE_MANAGER>'
    at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:546)
    at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1137)
    at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:799)
    com.ibm.mq.MQException: Message catalog not found
    at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:171)
    at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)
    i have written '<IP_ADRESS>:<MQ_QUEUE_MANAGER>' just to hide the data - i am getting <IP_ADRESS> as IP Adress i gave in JMS adapter and <MQ_QUEUE_MANAGER> as Queue Manager i gave in JMS adapter.
    Dear All,
    Any inputs to my above queries.
    Thanks and Regards,
    Rajeev Gupta

  • JMS Adapter troubleshooting

    Hello,
    I have a JMS adapter configured for MQ and can get messages to / from it. However, in troubleshooting with the MessageTransferBean my messages seem to dissappear into the JMS ether
    How can I see the contents and more detailed error messages for the JMS adapter in XI/PI? Runtime Workbench shows only a portion of the error and I can't figure out where to find the rest.
    Any advice on how to monitor the SAP JMS layer and see helpful troubleshooting logs are greatly appreciated!
    Many thanks,
    Aaron

    Hi Aaron,
    I am giving you all the chapters from the bible of jms adapters.
    1)notes for JMS adapter
    Go thru these notes 790963,747601,746393,856346,802754,
    837501 and 790224.
    2)information regarding use of JMS Adapters,Go thru these links of help.sap.com
    JMS Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    Configuring the Sender JMS Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Configuring the Receiver JMS Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    JMS-Provider-Specific Settings:
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm
    And to deploy the jars which are given in the JMS Adapter link go thru this article "How To Install and Configure External
    Drivers for JDBC and JMS Adapters"
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Regards
    joel
    Edited by: joel trinidade on Mar 26, 2009 11:22 AM

Maybe you are looking for