JMS Adapter - Set Additional JMS Parameters or Replace Default Settings

Hi colleagues,
We are using PI/XI 7.0 (SP 12).
In trying to set up a Communication Channel using JMS Adapter to connect to Oracle AQ, I do not see the checkbox "Set Additional JMS Parameters or Replace Default Settings" , nor is the table for the parameters / value visible.
We have deployed the driver file as described in the How-to- guide: How To Install and Configure External Drivers for JDBC & JMS Adapters
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f?quicklink=index&overridelayout=true]
In setting up the Communication Channel so far:
Type: Sender
Transport Protocol: Access JMS Provider Generically
Message Protocol:  JMS 1.x
Adapter Engine:      Integration Server
After this I expect to see the checkbox  "Set Additional JMS Parameters or Replace Default Settings", but it is not there.
Therefore I am not able to select it in order to enter parameters like:
JMS.QueueConnectionFactoryImpl.classname
JMS.QueueConnectionFactoryImpl.method.setHostName
JMS.QueueImpl.classname
JMS.QueueImpl.constructor.... etc
Can someone please share if this because we are on too low SP or do we need to do something additional before it becomes visible?  Is this a feature that only became available as of PI/XI 7.0 SP 13 or 14 ?
I checked both Sender and Receiver channel type, and it does not appear for both.
Thanks & Cheers,
Jodie

Hi experts,
We are using PI 7.1 and I've set up a communication Channel using JMS Adapter to send
messages to a Sonic MQ queue.
I need to send some values as JMS parameters, two of which are constants and two are values
from the Sender message. I tried defining and setting up the parameters with constants values
in the Communication Channel under the Advanced tab by selecting the check-box
set Adapter-specific Message Attributes as follows:
Name     TYPE
ContentType     String
ReturnValue     boolean
Name     VAlue
Contenttype     CompanyCode
ReturnValute     true
This however lead to an error in the Adapter Engine (RWB).
My problem is:
1. Can anyone please instruct me as to how to go about defining and setting up
   additional JMS parameters?
2. How to go about defining/setting up variables that will get their values from
   the sender message?
Thanks & Cheers,
Joe

Similar Messages

  • JMS Adapter Configuration (Access JMS Provider Generically)

    Hi Exports,
    How can i configure JMS adapter Using Access JMS Provider Generically, where can we mentioned target server. there is Quename and username and password but there is no target server details field. could you please give me suggetion how to configure this.

    Hi,
    This will help you
    JMS Adapter
    /people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    Sender Jms Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Receiver Jms Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Regards
    Agasthuri Doss

  • Setting Additional JMS Parameters ...

    Hi experts,
    We are using PI 7.1 and I've set up a communication Channel using JMS Adapter to send
    messages to a Sonic MQ queue.
    I need to send some values as JMS parameters, two of which are constants and two are values
    from the Sender message. I tried defining and setting up the parameters with constants values
    in the Communication Channel under the Advanced tab by selecting the check-box
    set Adapter-specific Message Attributes as follows:
    Name          TYPE
    ContentType          String
    ReturnValue          boolean
    Name          VAlue
    Contenttype          CompanyCode
    ReturnValute          true
    This however lead to an error in the Adapter Engine (RWB).
    My problem is:
    1. Can anyone please instruct me as to how to go about defining and setting up
       additional JMS parameters?
    2. How to go about defining/setting up variables that will get their values from
       the sender message?
    Thanks & Cheers,
    Joe

    Hi,
    I am trying to send a file over FTPS (FTP using SSL/TLS) .
    But  it fails with the following error in RWB - Communication Channel monitoring:
    Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException:
    Unable to create new pooled resource: FTPEx: 'AUTH TLS': command not understood
    I running NW711_05 and my FTP Connection Parameters are as follows:
    Server:                                                                   OurServerName
    Port:                                                                          21
    Data Connection:                                                      Passive {even tried Active but got the same error}
    Timeout:                                                                    20
    Connection Security:                                                FTPS (FTP Using SSL/TLS) for control connection
    X Use X.509 Certificate for Client Authentication
    Keystore:                                                                 service_ssl
    X.509 Certificate and Private Key:                           ssl-credentials
    Do I need to do any specific configuration/settings on the receiving FTP-server side?
    kind regards,
    Joe

  • JMS Adapter setting the header data of MQ message

    Hi All,
    I need to set the properties in JMS adapter for setting the header data of MQ message.
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    Thanks in advance
    Ravijeet

    Hi All,
    I am stuck in a typical XI issue.......I have a scenario where my input to XI is IDoc and output is xml message going to IBM MQ.
    The IDoc is sending some chineese character which is fine is SXMB_MONI Integration server and also fine in the payload of message monitoring, so feel the message is going fine from XI to MQ.
    But the receiver EDI system which is picking the message from MQ queue says the chinese characters are getting corrupted. They say that you need to set the additional properties in MQ header data
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    How do I do this in communication channel for jms adapter ? How to I set the MQ header data in jms communication channel ?
    Thanks in advance
    Ravijeet
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM

  • Setting additional JMS message properties

    Hi ALL,
    I have a requirement where I need to create an adapter module to set additional message property for JMS.
    The property name has to be Key_String specifically.
    I am not sure whether to specify this name in the code written for the module or in the channel configuration.
    Please help.
    Thanks n regards
    Pushpinder Kaur

    You can use adapter specific message attributes for this.
    See online help, scroll down to "Advanced Tab Page"
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    Hope that helps
    Stefan

  • JMS Adapter to remote JMS Server in ESB??

    Has anyone successfully setup a JMS adapter in the ESB to talk to a JMS server on a remote host?
    We are using OC4J JMS and so I followed the instructions in section 5.2.1.7 in the Adapters guide on this. I updated the oc4j-ra.xml file. The guide didn't state which version of oc4j-ra.xml to update, but I've been told to use the one in:
    $ORACLE_HOME/j2ee/<oc4j>/application-deployments/default/
    So, I added the XML block as specified in this section and made the JMS Connection JNDI name match that of my JMS Adapter. However, the Adapters guide then states the following:
    In addition, you must have the file META-INF/application-client.xml in the
    classpath. The contents of the file can be the following:
    <application-client/>
    To put this file in the classpath, put the specified contents into the file at Oracle_
    Home\bpel\system\classes\META-INF\application-client.xml and
    restart Oracle BPEL Server.
    This is a problem for me because I have an advanced installation with ESB and OWSM on top of OC4J, but I do not have BPEL installed in this location. As such, the file $ORACLE_HOME/bpel/system/classes/META-INF/application-client.xml does not exist. I did a search and did find an application-client.xml at the following location:
    $ORACLE_HOME/j2ee/oc4j_esbdt/connectors/JmsAdapter/JmsAdapter/META-INF
    But at this point, I don't know what to do with it to ensure it is in the classpath. The Adapters guilde says to cycle the BPEL Server, so I cycled the ESB for good measure, then deployed my project, but no luck! It is still listening to the local jms server and not the remote one.
    Has anyone successfully set this up? What am I missing or doing wrong?

    The above classpath requirement should only ensure that BPEL module can access the JMS adapter. Otherwise it should be OK.
    I would reccommend to try to establish the JMS connection and see if some parts of the Oracle AS will throw any exception or something. It might start working as well.
    As I understand, you are trying to access OC4J JMS from another server. As JMS is purely TCP level protocol there should be no problem accessing it from anywhere. Only the addresses and ports must be reviewed and ensure that they point to correct place, that usernames and passwords are correct and that there is a JNDI connectivity available as you use JNDI to get the connection factories.
    Rein

  • Sender JMS Adapter error: The JMS provider gave the error message as Not permitted, and the error code is null

    I am trying to connect tibcoems with PI using a Sender jms adapter.After successfully installing the drivers , the sender adapter goes into error.
    "The JMS Provider gave the error message as Not permitted, and the error code is null"
    The Transport protocol is 'Access JMS Provider with JNDI' and i have been given the required parameters from the tibco guys.
    Your input are highly appreciated.
    Shyam

    Hi AQmit,
    Thanks for the reply.
    Please find the screenshots of what i am trying to do.
    Also, Can u direct me how to check the right logs?

  • Scenarios using Sender JMS adapter and Reciver JMS adapter

    Hi All,
    I am not able to find god step by step blog on senderJMS adapter and Receiver JMS adapter.
    also please explain when we use JMS.What does a messng system means?please provide some examples.
    Thanks and regards

    Hi  Goyal,
    Messaging System :
    Messaging system allows separate, uncoupled applications to reliably communicate asynchronously. The messaging system architecture generally replaces the client/server model with a peer-to-peer relationship between individual components, where each peer can send and receive messages to and from other peers.
    Go thru this you will get better idea :
    http://java.sun.com/developer/technicalArticles/Networking/messaging/
    JMS adapter (Java Message Service) enables you to connect messaging systems to the Integration Engine or the PCK.
    regards
    Ganga

  • Print parameters overridden by default settings

    Hi,
    I am setting the parameters PRI_PARAM-PRIMM = space and PRI_PARAM-PRREL = ' ', which if i am not wrong are the values to not print immmediately and dont delete after printing . Inspite of setting these parameters , it is getting overridden by default settings print immediately and delete after printing.
    Please help to set the progammatic values for the spool generated.
    Thanks,
    Sindhu

    Hello,
    I think the field description tells-it-all
    What additional clarification you want ? Additionally generally 'X' -> True & ' ' -> False
    Cheers,
    Suhas

  • PI JMS Adapter - setting of MQMD.Format

    I have a requirement whereby I need to set MQMD.Format=u2019MQIMSu2019 on a receiver JMS channel, i.e. when it reaches our MQ / Mainframe from PI we need that format set (PI defaults to u2018MQSTRu2019).  Unlike for example ccsid, format it is not a parameter available to be changed on the main JMS screens.
    Any ideas on how I can achieve this? SAP has suggested doing some things over on the receiver (MQ) side but I don't want to go there, and don't think I should need to.
    We are on PI 7.11 sp 5.
    Background: as per IBM documentation (http://webcache.googleusercontent.com/search?
    q=cache:Ps4qVR_SbYIJ:www.macyplace.com/macyent/descriptions/MEMQClass.htmMQSERIESOTMAreasonmqims;cd=7&hl=en&ct=clnk&gl=ca), otma-based messages must have a format of 'MQIMS'. Here is an excerpt:
    ...Messages using the IMS OTMA bridge require an MQMD format of "MQIMS"....
    Keith

    Hi Keith,
    I am trying to do the same thing. Set the MQMD Format to MQIMS using the JMS_IBM_Format but that does not work and gives the following error:
    Message processing failed. Cause: com.sap.aii.adapter.jms.api.connector.ConnectorException: Connector for ConnectionProfile of channel: CC_NIAE_DO_NOT_TOUCH_JMS_RECEIVERon node: 3721650 having object id: 484b71b77f4c38debe12a87b7a961905 encountered error: MQJMS2007: failed to send message to MQ queue. in sending to destination queue:///SYSTEM.DEFAULT.LOCAL.QUEUE?targetClient=1, the message message:  JMSMessage class: jms_text  JMSType:          null  JMSDeliveryMode:  2  JMSExpiration:    0  JMSPriority:      4  JMSMessageID:     null  JMSTimestamp:     1311715458427  JMSCorrelationID: 0892080c-b00b-2c01-0e08-f0c02012c708  JMSDestination:   queue:///SYSTEM.DEFAULT.LOCAL.QUEUE?targetClient=1  JMSReplyTo:       null  JMSRedelivered:   false    JMSXDeliveryCount: 0    JMS_IBM_Encoding: 785    JMS_IBM_Format: MQIMS <?xml version="1.0" encoding="UTF-8"?> <SCSMSG><SCS-MSG-LENGTH>000001663</SCS-MSG-LENGTH><SCS-APP-RE ...: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue.
    A JMS error occurred while processing message: 0892080c-b00b-2c01-0e08-f0c02012c708. The JMS provider gave the error mesage as MQJMS2007: failed to send message to MQ queue. MQJE001: Completion Code '2', Reason '2148'., and the error code as MQJMS2007.
    I talked with one of the MQ Team here and they said you might want to have 3 spaces after MQIMS because the MQMB.Format field is 8 Characters and I tried but still the same error.
    Also tried putting MQIMS is single and double quote lile "MQIMS   " and 'MQIMS   ' but it takes the quote as a character and does not create a MQ Message with format MQIMS.
    Did you try it and had it working?
    Thanks
    -Saumitra

  • If UseMessageListener in JMS adapter set True, causing the message state 0

    We have a multi node SOA 10g deployed. If we have a UseMessageListener=True, the state of the message is not changing from 0 to 2. Even though the message was consumed.
    Same, configuration works fine in lower environment with single node.
    When we changed UseMessageListener= false, message state started getting changed even in multi node architecture.
    One more difference that we have in multinode and single node environment, is that we are having isTransacted mcf property value as false. Where as in single node is Transacted is true.
    Can some one explain some reasoning behind such behavior?
    What is the significance of UseMessageListener?

    Hi Tarak,
    The behaviour looks acceptable for me... Topics are different than queues, if you publish a message to a queue and there is no suitable consumer at that moment the message will remain in the queue... But for a topic, looks acceptable for me to say that if you publish a message and there was no suitable subscriber at the moment the message can be discarded... The message was checked for all durable subscribers and there was no one to able to pick it up... So it can be safely discarded... If later you change your durable subscriber to a situation on what the previous message could be picked up, that may be too late... Nevertheless, that's a very particular case and may vary according to implementation...
    May you can confirm the behaviour by checking the messages assigned to a durable subscriber... When you publish a message that doesn't match the selector, will the message even be listed at all?
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/topics/ManageDurableSubscribers.html
    Hope this helps...
    Cheers,
    Vlad

  • How to set ApplIndentityData header field in JMS adapter

    Hi Guys ,
        I have one requirement for update the field in SAP JMS header. I am using transport protocol for IBM Websphere MQ in JMS adapter.
    While sending data to IBM Websphere MQ Queue via JMS Adapter, need to set the field called ApplIndentityData with the appropriate value which is populate to a MQHRF2 header of a message.
    So, regarding that where will do it? Means JMS receiver adapter or IBM MQ level. If JMS receiver adapter, I think using ASMA, So please guide me how to set this filed value in JMS adapter or share any document you have.
    Thanks & regards
    Vijaykumar S

    Hi RejaSekar,
           I reffered your blog and did the below settings in JMS module and ASMA settings. 
    1) Changed the mode for u201CJMS-Complaintu201D instead of u201CWebsphere MQ(non JMS)u201D
    2) Additional JMS message properties tab created below property name and java type.
           LocalName    --> String
           Partname      -->  String
    3) In module parameter tab added the below module name and key
        AF_Modules/DynamicConfigurationBean   -->  LocalEnterpriseBean  -->  RFH2HEADER
    4) Under parameter Tab
         RFH2HEADER       -->   key.0      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER       -->   key.1      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER      -->  value.0    -->    LocalName
         RFH2HEADER      -->  value.1    -->    PartnerName
    Kindly check the above settings whether this is correct or wrong. If anything wrong please let me know what we need to change JMS receiver adapter.
    Actually my requirement is need to set these parameters and set the value to that parameters and pass in to /usr folder of a WebsphereMQ message.
    Kindly check and help me out.
    Thanks & regards
    Vijayakumar S

  • JMS set additional properties

    I am using jms adapter and I would like to set additional jms properties.  I've checked "Set Additional Properties or replace default settings" in my comm channell and I've entered certain key/value combinations.  Unfortunately it does not work.
    Has anyone run into this problem.  Is there a solution.
    We are on SP 16.
    Thanks
    David

    David,
    <b>"additional jms properties"</b>
    do you mean JMS headers specific to your application?
    In that case,check <b>Correlation Settings</b> for the reciever adapter and the
    Set JMSProperty To
    Value the JMS property
    part of it.
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Rgds,
    Amol

  • Problem setting a provider specific property : JMS adapter

    Hi Experts:
    I need to set a provider specific property as required by the third party in a IDoc to JMS scenario.
    The property name starts with JMS_ and is offcourse a property specific to the JMS provider.
    The way I am setting it is I have declared a Additional JMS message property by the same name as desired by the third party say
    JMS_XXX
    and then using the DynamicConfigurationBean I assign a value to this in the reciever channel.
    The problem that we have observed is, all other properties are set as desired, only this one for which the name starts with JMS_ is not set correctly.
    Is it possible to set such a provider specific property using XI or not?

    Hi Amol,
    Adapter-Specific Message Properties
    ·        To store adapter attributes in the message header of the XI message, select Set Adapter-Specific Message Properties.
    ·        To apply the following attributes in XI message headers, set the corresponding indicators:
           Name                                           Technical Name
    JMS Message Correlation ID               DCJMSCorreleationID
    JMS Message Delivery Mode               DCJMSDeliveryMode
    JMS Message Destination                   DCJMSDestination
    JMS Message Expiration                     DCJMSExpiration
    JMS Message ID                                DCJMSMessageID
    JMS Message Priority                         DCJMSPriority
    JMS Message Redelivered Flag            DCJMSRedelivered
    JMS Message ReplyTo Destination      DCJMSReplyTo
    JMS Message Time Stamp                   DCJMSTimestamp
    JMS Message Type                              DCJMSType
    Used JMS Message Selector                 DCJMSMessageSelector
    Used JMS Message Queue                    DCJMSMessageQueue
    JMS User                                                DCJMSUser
            If you want to set additional JMS message attributes, select Specify Additional JMS Message Properties (10 Maximum).
    ·        In the table, enter the names of the JMS message properties whose values are to be included in the message header of the XI message.
    The technical names of the additional attributes are DCJMSMessageProperty0, DCJMSMessageProperty1, ..., DCJMSMessageProperty9.
    You can enter more than 10 properties in the table, but only the first 10 are taken into account.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/JMS.
    if found worth pls do the req
    Thanx
    Sampath

  • 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

Maybe you are looking for