Text Message - JMS Adapter

Hello,
How can I send a XML as a text message into a JMS Adapter?
I tried to send using an opaque schema but the consumer is receiving it null.
Thanks!

Hi,
Refer these links
http://static.springframework.org/spring/docs/2.5.x/reference/jms.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
http://help.sap.com/bp_bpmv130/Documentation/Planning/XIUnicodeGuide030411.pdf
http://help.sap.com/saphelp_nw04s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00982670-748c-2a10-3985-cdd42fb43e50
and also blogs
Triggering XI Alerts from a User Defined Function
How to send any data (even binary) through XI, without using the Integration Repository
Regards,
Surya

Similar Messages

  • Maximum message size JMS adapter can pick

    Dear All,
    I have query on JMS adapters.
                                                 1) I would like to know what is the maximum size message JMS adapter can pick?
                                                 2) Is there any option in JMS adapter, to define the maximum size?
    You help/guidance will be very much appreciated.
    Thanks,
    Praveenkumar

    1) If you see any issues with JMS XI Adapter handling 30MB messages in
    Production systems.
    If message size beyond 10MB then the message wont come to SXMB_MONI itself.....may be even in CC monitoring there may not be an entry....you mentioned Production Systems.....did you checked in Dev? The behavior wont change from Dev to Prod.
    2) If 30MB is huge, what is the maximum permissible message size
    greater than 10MB as break point.
    10MB itself is the limit...anything above that wont be processed.
    Regards,
    Abhishek.

  • Content conversion question for JMS adapter

    Hi,
    I need to put this again here.
    I have the scenario R/3 IDoc -> XI ->  MQ (webshpere). MQ requires plain text.
    I have the IDoc ORDERS05 in multi level (nested in layers). But using the how to guid to convert the content I could go up to on level.
    Based on the thread
    Process Integration (PI) & SOA Middleware
    It is not possible to use the conversion modules with XML2Plain key with parameter xml.conversionType value StructXML2Plain.
    Please confirm if this is possible to convert a structure like below,
    <ZSYSEX01>
    .<IDOC BEGIN="1">
    ....<EDI_DC40 SEGMENT="SEGMENT0">
    ........<FIELD1>HEADER</FIELD1>
    ....</EDI_DC40>
    ....<E1STATS SEGMENT="SEGMENT1">
    ........<FIELD2>100</MANDT>
    ........<Z1HDSTAT SEGMENT="SEGMENT2">
    ...........<FIELD3>0200000716</FIELD3>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1000</FIELD4>
    ...........</Z1ITSTAT>
    ........</Z1HDSTAT>
    ........<Z1HDSTAT SEGMENT="SEGMENT2">
    ...........<FIELD3>0200000717</FIELD3>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1000</FIELD4>
    ...........</Z1ITSTAT>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1001</FIELD4>
    ...........</Z1ITSTAT>
    ...........<Z1ITSTAT SEGMENT="SEGMENT3">
    ...............<FIELD4>1002</FIELD4>
    ...........</Z1ITSTAT>
    ........</Z1HDSTAT>
    ....</E1STATS>
    .</IDOC>
    </ZSYSEX01>
    to plain text in JMS adapter.
    Thanks!
    Jason

    Hi,
    You have to use Content Converiosn in JMS Adapter Receiver side,
    Module Sequence in the Receiver Channel
    No. Module Name                                                               Module Key
    1 localejbs/AF_Modules/MessageTransformBean                  XML2Plain
    2 localejbs/SAP XI JMS Adapter/ConvertMessageToBinary     CallJMSService
    3 localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService   Exit
    Bases on Structure you have to configure the processing parameters,
    please see the below link, it will helps you more
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Regrads
    Chilla..

  • 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

  • Is JMS adapter can handle text message ?

    Hi all,
    In my scenario we have to take the data from Mainframe, CIS the data will come may in the form of text. If the data comes with text format ,is our JMS (DB2 drivers) can handle the messages in queue if yes is there any explicit configuration need to done. Till now we did message processsing of xml files but if the queue contains text message how to handle if it is not possible what procedure need to do any adpater module we have to write explicitly can some body explain?

    Hi,
    Refer these links
    http://static.springframework.org/spring/docs/2.5.x/reference/jms.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
    http://help.sap.com/bp_bpmv130/Documentation/Planning/XIUnicodeGuide030411.pdf
    http://help.sap.com/saphelp_nw04s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00982670-748c-2a10-3985-cdd42fb43e50
    and also blogs
    Triggering XI Alerts from a User Defined Function
    How to send any data (even binary) through XI, without using the Integration Repository
    Regards,
    Surya

  • JMS adapter -Message format pre-requisites

    Hi,
         I am using a sender JMS adapter in XI to read a  message from MQ. Can anyone tell me whether the message should be in any specific format like comma separated (csv) or text-tab delimited. I am wondering on what basis the system will split the message and map it to the source structure.
    regards,
    Madhavan

    Hi Abhisheek,
    It doesnt work... i tried adding the ISO 8859 1 in the module and also tried setting the CCSID which is to 819.. for the ISO 8859 1.. bt i doesnt work
    i dont understand why its behaving in such a manner but i really feel some silly mistake i am missing out a parameter or something...
    I have created a txt file with 2 line only
    AAABBBCCC
    DDDEEEFFF
    And jst trying to pick up this file without any conversion ... kind of a JMS to File senario without any modules.. it still doesnt work..
    i dnt think it is recognizing the new line which i have given.. or may be because the conversion modules are stripping out the new line characters
    And i have not upgraded my system as well. its XI 7.0 SP 9
    RGds
    ADitya

  • Error status in JMS adapter - sync / async brigde. Message processed ok

    Hi guys
    I'm having som trouble with my scenarion. I'm sending sync message from SAP backend to XI using proxy. From XI onwards to JMS adapter async (and the other way around for the response message).
    This works OK. However i have a status error in my RWB on the JMS adapter. There is er red exclamation mark and a text saying:
    Correlation ID 'XXX' of JMS request message 'ID:yyy' saved that correponds to XI message 'XXX'
    How do I get my adapters in status green?
    Kind regards
    Martin

    Hi Kai
    Oh - OK
    Settings are:
    Receiver JMS channel:
    Set JMSCorrelation to: XI Message ID (MessageID)
    Store JMS CorrelationId of request: Mark
    Sender JMS channel:
    Set XI Message ID (MessageID) to: GUID (Recommended Value)
    Set XI Conversation ID (ConversationID) To: Stored JMS CorrelationId of Request.
    Kind regards
    Martin

  • Push different type of messages to JMS Queue using JMS Adapter

    Platform: Oracle SOA 11g. JMS Adapter.
    I got to push different types of messages as string to same queue. JMS Adapter requires schema to push a message to a queue. Since messages are of different types, how can I push them into queue. I tried to use singleString schema. Result is that actual message gets wrapped into <singleString> root element which is not the required result.
    Any hints or links shall be appreciated.

    Thanks fo ryour reply and help. I appreciate that.
    Wrapping of original message in <singleString>  element is done by JMS Adapter as the very last activity/setting. I am not composing/transforming message into final shape with singleString through transformation.
    Once message is with JMS adapted on one end, it is in Queue on the other end. No control.
    Since consuming end is not in my control and requires the actual message in Text format, I need to have the message target queue in Text format.
    If I select the Opaque schema, following error message is thrown.
    <bpelFault><faultType>0</faultType><mismatchedAssignmentFailure xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"><part name="summary"><summary>Mismatch Assign. cannot set a nonmessage value to a message-based variable. An attempt to assign a nonmessage value to a message-based variable failed. Verify the BPEL source for invalid assign activities.< /summary></part></mismatchedAssignmentFailure></bpelFault>

  • 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

  • JMS adapter: Adapter specific message attributes

    Hi,
    I have a synchronous SOAP to JMS (MQ series) scenario where I’m using sync/async bridge (without BPM).
    I need to correlate the message being put on JMS queue (JMS receiver adapter) and the response (JMS sender adapter).
    The “standard” receiver JMS adapter only allows the JMS correlation ID to be set to one of three different values (excluding NULL). 2 of these (reference and conversation ID) will be empty in my scenario, leaving me with only the XI message ID. This ID however exceeds the length of ie. the JMS correlation ID and thus isn’t suitable for correlating anything using the field JMS Correlation ID.
    NB: it is of no use to try and set the conversation ID at mapping time (using container object) since the changed value only is available during mapping execution.
    Surely one way of setting the conversation ID would be to use an adapter module in SOAP sender, but this is not an option. Also the sender system will not provide one either.
    Now the problem isn’t setting the JMS correlation ID dynamically at runtime (this is achieved without trouble using the dynamic configuration API with the key ‘DCJMSCorreleationID’). The problem is to actually have XI correlate the request with the response.
    Since the JMS collelation ID is smaller than the XI message ID and the conversation and reference ID isn’t available, what I figure is that I need to find a MQ message property to use and then use the ‘Set MSProperty to’ part instead – this property surely needs to be large enough to contain the XI message ID.
    So what I did was I looked in http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqwak.doc/js50938.htm
    where a list of fields in the message descriptor is available figuring I can just use one of these. Looking through the list I notice the field MDRQ (‘Name of reply queue’, 48-byte character string) should be able to hold the XI message ID. So I add ‘MDQR’ in the ‘Specify additional JMS message properties’ and set the ‘Java Type’ to String and also enter this field in the Correlation Setting of the receiver JMS adapter.
    Runtime:
    When looking in MDT I see:
    New JMS message will be correlated with the XI message. Correlation rule: XI_MESSAGEID, correlated property: JMS property MDRM, correlation value: 36158680-5a0c-11dc-8c14-000f203cd3c8
    I looks like a success! No data is however set in the field when looking at messages being put on MQ.
    If I increase the trace level of the JMS adapter I can see (in defaultTrace) the following:
    Cannot read the switch setting for property name DCJMSStringProperty0, switch name dynConfigDCJMSStringProperty0. It is switched off.
    What does this error mean?
    I have of course clicked ‘Use adapter Specific Message-Attributes’ and also the ‘Specify additional…’. In other words everything look ok in configuration.
    Since I’ve also put a check mark in ‘Fail if adapter specific message attributes is missing’ I can see that I successfully put a value (using dynamic conf. at mapping time) in the field... but still something isn’t right – the value of the property never reached MQ.
    Now I’ve tried with a couple of fields in the message descriptor from the previous URL. XI complains all the time.
    Anybody got some ideas?
    Best Regards,
    Daniel

    Hi Vijay,
    Thanks for your replay,as per your input i creted dynamic configuration method,
    i taget structure  luks like this
       <Data>
           <Mesage>
                 <gl_update>
                      <header>
                            <ean1>
                            <ean2>
                      </header>
                  <gl_update>
           <Message>
    i written UDF and mapped to header element gl_update,
    but i am getting  below error message in MONI
    SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_ ffjms_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns0:MT_jms_ _a</SAP:P3>
      <SAP:P4>sync_out/Data/Message/ GLUpdate. Values missi~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_ ffjms_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_jms_ asyncout/Data/Message/ GLUpdate. Values missi~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    i want to know i mapped to UDF to GL_Update is is correct, to which element i have to map.
    i think there is no prob with UDF,its executing ,giving warning messages
    help me on this,
    Regaards
    Raj

  • How to hanlde breaked large messages in sender JMS adapter

    Hi,
    I have been asked like 'how can we handle breaked large messages in sender JMS adapter?'and lets say I am getting some messages as it is and some are breaked into small segements for the mesaages that are large....
    do we need to use module,if so is there any standard module that we can use to hanlde this type of scenarios?
    thank you in advance.
    babu

    http://biemond.blogspot.com/2009/10/jms-request-reply-interaction-pattern.html
    if you check the blog of edwin, see his comments at the bottom
    there he gives a suggestion how to add the selector properties to filter on
    and this one is maybe helpfull
    http://blogs.oracle.com/adapters/2010/05/configuring_request-reply_in_jmsadapter.html

  • Missing message in JMS adapter sender

    Hi,
    we have a synchronous interface with a JMS adapter. The scenario is:
    ECC 5.0 -> XI -> MQSeries -> XI -> ECC 5.0
    We put the message in the queue MQ correctly and we get the response message. I can see this in the adapter monitoring in RuntimeWorkbench. But from this moment the message is missing. I can't see anything in the bpm monitoring (SXMB_MONI_BPE). The bpm stops in workitem receive but doesn't return any error.
    I don't know how to see where we lose the message and why.
    Thanks for advance.
    Paloma

    Hi,
    Can you see your message in SXMB_MONI? Is your BPM is in running state in sxmb_moni?
    You can double click on "PE" in sxmb_moni. It will take you to the Workflow display. Then click on button Technical details,which will show you all steps and if you expand all branches..you should be able to see your error / exception message in case if any.
    Please check n let us know the result.
    Nilesh

  • JMS adapter could not receive message from Tibco EMS topic

    I'm trying to consume message from tibco EMS topic using Oracle SOA JMS adapter. Can anyone please let me know the steps to do this. Appreciate your help.
    Thanks,
    SB

    Increase Log level for cube.activation to debug and check the logs by stopping & starting the activation agent(I mean Retire and activate the process) .. It should give a clue on what's happening..

  • JMS Adapter - Queue Message Loss

    Hi Folks,
    I am working on MQ - to - File Scenario, working fine. But some Cases message is fail in SMQ1 & SMQ2, I am not able to re-process that message because of that messages are System Error.
    So My Problem was, Once JMS Adapter is pick the Data from MQ, no more data in MQ, some cases message is fail, We can't re-process that message, So i dont want to lose that data.
    How can i recover that MQ Data...
    Thanks for help,

    Hi S R,
    What is the error detail in SMQ1,SMQ2?
    Did you try to reprocess them from execute luws? try to change the status to recorded if possible.then execute again.
    thanks

  • JMS Adapter Maximum Message Size Restriction and Impact

    Hi ,
    We have business requirements,where the Maximum message size that needs
    to be sent or received from  around 25 to 30MB usig JMS XI channels.
    But, "Note 856346 - J2EE JMS Adapter: Frequently Asked Questions (FAQ)"
    specifies as below,
    2.12)What are the message size restrictions in 640/700 release and also
    710 releases?
    Answer: The maximum message size for 640/700 releases is "10MB"
    Please let us know,
    1) If you see any issues with JMS XI Adapter handling 30MB messages in
    Production systems.
    2) If 30MB is huge, what is the maximum permissible message size
    greater than 10MB as break point.
    regards,
    Amit

    1) If you see any issues with JMS XI Adapter handling 30MB messages in
    Production systems.
    If message size beyond 10MB then the message wont come to SXMB_MONI itself.....may be even in CC monitoring there may not be an entry....you mentioned Production Systems.....did you checked in Dev? The behavior wont change from Dev to Prod.
    2) If 30MB is huge, what is the maximum permissible message size
    greater than 10MB as break point.
    10MB itself is the limit...anything above that wont be processed.
    Regards,
    Abhishek.

Maybe you are looking for

  • New VideoTexture class can't be found

    Hello, I have been waiting for the videoTexture class for a long time and now it's been included with the new release of Air 17 sdk, but unfortunately I can't get it to work in my small test project. I read the release notes to find an answer for my

  • Where is the compadibility mode on windows xp i can't locate it in Properties

    please help I have a Dell computer

  • Replicate the Sales order Line Item Text to Production Order

    I want to replicate the Sales Order Line Item Text to Production Order? Please tell me if this is Functional job or a Developers Job? I believe this can be achieved by customization and doesnot need any programming and I am trying hard to gather rele

  • How to solve the error

    Iam getting dump error as follows. The current ABAP/4 program encountered an unexpected situation.                                           Exception condition "CALL_INVALID" raised in program SAPLCSS3 what could be the reason for this error, how ca

  • Workflows use function to update value.

    As part of a workflow I'm trying to update an object value using Function Evaluator. However when I set the Workflow parameter to "Target" and look through the list of attributes (Parameter attribute), I don't see the attribute I'm after. This attrib