Message format to be send to the JMS Adapter

Hi all,
I have a very strange situation. i have a sender JMS channel where i am trying to use the Message Transformation module
I have done the configuration but the problem is that i have made a .dat file
AAABBBCCC
DDDEEEFFF
and i am using the PutMessage fuction to put the messages in the Queue and process it
dont knw y but the newline characters get disapeared. I am not sure why this is happening on investigation i found that we have 2 modules which are used before the conversion for XML
localejbs/SAP XI JMS Adapter/ConvertJMSMessageToBinary
localejbs/SAP XI JMS Adapter/ConvertBinaryToXMBMessage
Is it because of this.. that the channel is behaving like it. please give your inputs as to what can be done
if so will the messages work fine if the messages are directly put into the queue
what special character should i use to get the desired output with new line characters

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

Similar Messages

  • Can JMS Message be filtered dynamically based on the JMS Header variable

    Hi All,
    We have a requirement to filter messages from an MQ (Queue) using the JMS Adapter.
    There is only one subscriber to this Queue.
    Can we use the Message Selector option using the same subscriber to pick different messages based on the context set.
    For example I have two BPEL instances running for the same BPEL process and both of them have to read messages from the same MQ Queue, say SampleQueue.
    The first BPEL instance need to pick the messages when JMSpriority = 1
    The second BPEL instance should pick the messages when JMSpriority = 2
    Is this possible? As the Message Selector in the examples given is expecting a literal on the right side of the expression.
    Ex : Country='UK' Color='Green' etc
    To put the question in a different way, can the right side of the expression in a message selector be a BPEL variable?
    Thanks

    Hi
    I have the same question. Basically, I want to match my response message with the request message. I am putting in an id in JMSCOrrelationID in the request. The applciation that send the response put the COrrelationId, I sent into the JMSMessageId. But now, I want to correlate my request and response? What is the best way to do this in BPEL?
    Can the right side be a variable? I want to say JMSMessageID = 'ID: ' + JMSCorrelationId.

  • I am trying to email pictures from my ipad to my email address on my computer and I have been going along nice but now I get a message that says "cannot send mail the message was rejected by the server"  can't see to figure out why it stopped sending now.

    I have been emailing pictures from my ipad to my computer and have been going along nicely and now when I went to send 5 pictures to my computer from my ipad I am getting a message that says " cannot send mail The message was rejected by the server"  cannot understand why this is happening and have not been able to fix.  Now when I try to send pictues even to another email address I am getting the same message.
    Help.

    Email may not be the best way to move pictures.
    There are lots of ways of moving files.
    A simple and popular way to copy files and share files among your devices.
    https://www.dropbox.com/
    "Box lets you store all of your content online, so you can access, manage and share it from anywhere. Integrate Box with Google Apps and Salesforce and access Box on mobile devices" Rated the most secure cloud storage by SkyHigh Networks.
    https://www.box.com/
    Using iTunes to transfer files:
    http://support.apple.com/kb/HT4094?viewlocale=en_US&locale=en_US
    Files Connect -- "Cloud Storage services like Dropbox, MobileMe iDisk, Google Docs/Picasa, Facebook photos, FTP, SFTP, WebDAV ... AFS (Apple File Shares) SMB (Windows shares)  protocols"
    https://itunes.apple.com/us/app/files-connect/id404324302?mt=8
    Windows File server
    http://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
    "The kiteworks mobile file sharing solution provides secure creation, viewing, and sharing of enterprise content on smartphones and tablets while providing IT and security teams the administrative controls to manage user privileges and access rights necessary to ensure enterprise security and compliance."  " Includes choice of private cloud on-premise."
    http://www.accellion.com/solutions/mobile-enablement/mobile-file-sharing
    "Dukto is a simple application that allows you to share files between devices connected to the same (wireless) LAN network."
    http://www.tidal.it/?page_id=309&lang=en
    http://www.msec.it/blog/?page_id=11

  • To SET -UP message type 5 External Send to the purchase order approver

    Hi All
    Please help me to To SET -UP message type 5 External Send to the purchase order approver
    Susan

    Susan,
    This to me sounds like a release strategy setup using workflow. Could you please set up Release strategies initially and and then the workflow part couldd  be handled by a workflow personnel.
    Else, Setup teh message type with medium 7, and partner function MP, put the user name in the partner field. Go to communication method, choose the recipient type and fiull other required parameters and you should be set.
    Edited by: Pavan Kumar on Apr 6, 2010 12:27 PM

  • I use an Apple bluetooth keyboard with my iPad. In messages I can't find a way to "send" a message without tapping on Send on the iPad's screen. I've tried every key and key combo that I can think of. Am I missing something?

    I use an Apple bluetooth keyboard with my iPad. In messages I can't find a way to "send" a message without tapping on Send on the iPad's screen. I've tried every key and key combo that I can think of. Am I missing something?

    I already have multiple devices and by far I like my iPad the most over laptops and the iPad. That including checking out my friends MacBook Air.
    The difference for me is the touch interface on the screen itself for things that do not require a lot of typing. For me, the iPad is more "magical" than anything else I've used.
    Again, I do appreciate your answers but you don't know my situation. Not everything is as it is perceived without knowing me and what I have to go through.

  • How to add the JMS adapter property in BPEL1.1 version

    Hi,
    I am working on the Jms adapter by using BPEL version1.1 and i am want to add some Jms property to send with Jms message.We have option to add the Jms property in BPEL2.0 version. But i am not able to add Jms property in BPEL version1.1.
    Please help me
    SOA 11g : 11.1.1.5

    Thanks for everyone's replies. I am now able to set the parameters for the sequence file, just that I added a property node for the sequence file path and the sequence before loading the parameters. That did the trick and the rest was easy. Also for Goto, with some digging, I was able to add a custom property step if it fails or passes the step. It works like a charm. I'm attaching a modified version of my code in LV 7.0 format.
    Attachments:
    Dynamic Sequence File-1.vi ‏175 KB

  • Messages in multi-message format can only be sent to one Adapter Engine

    Hi,
    Using XI 7.0 SPS 12 I have a scenario Single Flat File->XI->Multiple Messages to ECC.
    Due to an annoying limitation/bug in ECC we have to send workorders in to be processed as individual transactions.  This means generating seperate calls to ECC from PI.
    I've adjusted my message map (No BPM) to split the source messages out, but when it calls the XI adapter to send them to ECC I get the following:
    <!-- Technical Routing -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
         <SAP:Category>XIServer</SAP:Category>
         <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
         <SAP:P1/>
         <SAP:P2/>
         <SAP:P3/>
         <SAP:P4/>
         <SAP:AdditionalText/>
         <SAP:ApplicationFaultMessage namespace=""/>
         <SAP:Stack>
         Messages in multi-message format can only be sent to one Adapter Engine
         </SAP:Stack>
         <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I am generating multiple structures under
    messages/message1/xx_my_structure_repeated_at_this_level
    which gives the correct amount of payloads in moni.
    I believe this error is because the http/idoc adapters dont go through the AE and it is the AE that splits the multiple messages into individual calls.  Is there a clean workaround which doesnt involve BPM or intermediate writing to disk etc?
    Thanks
    James.
    Points awarded where appropriate.

    <i>I believe this error is because the http/idoc adapters dont go through the AE and it is the AE that splits the multiple messages into individual calls.</i>
    Perfectly correct
    <i>Is there a clean workaround which doesnt involve BPM or intermediate writing to disk etc?</i>
    May be writin a module.
    Otherwise to avoid other development time, go for BPM.
    Regards,
    Prateek

  • SFTP Receiver adapter error Message could not be forwarded to the JCA adapter

    Hi Experts,
    I'm needing help to solve a problem with an SFTP Receiver interface.
    Before I was sending in the adapter configuration as "Direct" in Write Modus (File .txt) and now I changed to "Use temporary file" is occurring this error:
    Message
    could not be forwarded to the JCA adapter. Reason: 2: Moving
    /ABCftp/To_XXX/140187613515701OUT_20140604-100214-622.TXT.tmp to /ABCftp/To_XXX/01OUT_20140604-100214-622.TXT failed.
    Files as TXT they are being written to the SFTP however when as TMP returns this error ... would not rule SFTP server to accept different TXT files?
    I also changed the namespace to "http://sap.com/xi/XI/System/SFTP" and "http://sap.com/xi/XI/System/File" but is not working.
    Any help will be welcome!
    tks.

    Hi Durga and Naveen...
    I believe the problem is when the application's legacy system picks up the file because the log file got the "tmp", ie, was not formed yet ...
    I changed to a directory without the intervention of the legacy application and it worked.
    I'm waiting for the opportunity to modify the legacy system to capture only files with the extension TXT.
    Tks All for help!

  • Error: Invalid configuration for the JMS adapter

    Hi!
    I'm doing a test with CEP to get messages from a JMS WebLogic queue but I'm getting the following error:
    <BEA-2045010> <The application context "Teste" could not be initialized: org.springframework.beans.FatalBeanException: Error in initialization context lifecycle; nested exception is java.lang.IllegalArgumentException: Invalid configuration for the JMS adapter, you must Bean or specify a converter or a type of event.
    Teste.context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:osgi="http://www.springframework.org/schema/osgi"
    xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
    xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/osgi
    http://www.springframework.org/schema/osgi/spring-osgi.xsd
    http://www.bea.com/ns/wlevs/spring
    http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
    http://www.oracle.com/ns/ocep/jdbc
    http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
    http://www.oracle.com/ns/ocep/spatial
    http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
         <wlevs:event-type-repository>
              <wlevs:event-type type-name="Pet">
                   <wlevs:class>testewithprotobuf.MyPet$Pet</wlevs:class>
              </wlevs:event-type>
         </wlevs:event-type-repository>
         <wlevs:adapter id="pet_messageAdapter" provider="jms-inbound">
              <wlevs:listener ref="pet_inputChannel" />
              <wlevs:instance-property name="converterBean"
                   ref="PetMessageConverter" />
         </wlevs:adapter>
         <wlevs:channel id="pet_inputChannel" event-type="Pet">
              <wlevs:listener ref="pet_messageProcessor" />
         </wlevs:channel>
         <bean id="PetMessageConverter" class="testewithprotobuf.PetMessageConverter" />
         <bean id="PetBean" class="testewithprotobuf.PetBean" />
         <wlevs:processor id="pet_messageProcessor">
              <wlevs:listener ref="pet_outputChannel" />          
         </wlevs:processor>
         <wlevs:channel id="pet_outputChannel" event-type="Pet">
              <wlevs:listener ref="PetBean" />
         </wlevs:channel>
    </beans>
    My converter class:
    import java.util.Collections;
    import java.util.List;
    import javax.jms.BytesMessage;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import testewithprotobuf.MyPet.Pet;
    import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
    import com.bea.wlevs.adapters.jms.api.MessageConverterException;
    import com.google.protobuf.InvalidProtocolBufferException;
    public class PetMessageConverter implements InboundMessageConverter {
         @SuppressWarnings("rawtypes")
         @Override
         public List convert(Message message) throws MessageConverterException,
                                                                JMSException {
              BytesMessage bytesMessage = (BytesMessage) message;
              long bodyLen = bytesMessage.getBodyLength();
              byte[] buffer = new byte[(int) bodyLen];
              bytesMessage.readBytes(buffer);
              try {
                   Pet pet = Pet.parseFrom(buffer);               
                   return Collections.singletonList(pet);
              } catch (InvalidProtocolBufferException e) {
                   throw new MessageConverterException(e);
    Please, what's wrong?
    Thanks!

    This error usually indicates that you have both event type and converter bean specified or neither specified. In your case, that doesn't appear to the case from looking at the spring file. Could you also paste the contents of your configuration file from META-INF/wlevs directory?

  • Unable to select jms destination in the jms adapter configuration

    hi,
    I am trying to use JMS queues for consuming messages but after creating the JMS queues(destination) in the application server, i am unable to find the destination while configuring the jms adapter in jdeveloper.
    any help would be appreciated

    i am using soa 10g. are you saying there is an option for starting the jms server in the application sever or do i have to create a seprate jms erver for creating the jms server etc.
    it will be really helpful if you can explain the how to create/start jms server,jms queue etc or provide link to any article that is available. also please note that i am using SOA 10g
    thanks in advance

  • Message could not be forwarded to the JCA adapter

    Dear all,
    I am facing the issue:
    i am trying to send files to sftp server via SFTP adapter but in the receiver channel I am getting this error:
    Message could not be forwarded to the JCA adapter. Reason: 3: Putting /folder1/folder2/10124__20140603-152747-700.txt failed.
    exception caught with cause javax.resource.ResourceException: 3: Putting /folder1/folder2/10124__20140603-152747-700.txt failed.
    Adapter Framework caught exception: 3: Putting /folder1/folder2/10124__20140603-152747-700.txt failed.
    Delivering the message to the application using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 3: Putting /folder1/folder2/10124__20140603-152747-700.txt failed..
    I am not able to keep the files in folder2.
    there is no problem in access rights.
    I am able to access the same from Putti but from channel i m unable to do so.
    Please help.

    Hi Sinha,
    Thank you for the response, I might not have written the issue correctly.
    Remove Spaces in EDI Files
    Please refer the above blog, we are facing a simmilar issue, when we remove those spaces the file works correctly. But when the files are transmitted we have a single stream of characters and there is a space after the IEA segment and the next ISA Segment.
    Regards,
    Pranay

  • Unable to find the JMS adapter under deployments

    Hi,
    I am using weblogic 10.3.6.0. I want to develop JMS error queue in BPEL. Before that i have to do some configuration like create jms module, select SOA and admin server for deployment,..etc.
    finally i have to update the JMS adapter for deployement under deployment tab.But i am not able to find the JMS adapter under deployment tab list. So please provide me useful information , how
    to install JMS adapter into Deployments.
    Your valuable suggestion is more appreciable.
    regards
    Narsi.

    Hi Priya,
    There are some articles on SDN to show images/attachments in laptop application. You can check them out.
    http://wiki.sdn.sap.com/wiki/display/mobile/UploadingAttachments-NetweaverMobile7.1
    http://wiki.sdn.sap.com/wiki/display/mobile/CreateapplicationsusingBinaryMemoandTextMemoinNetweaverMobile+7.1
    Also the path is for NWDS, at client you need to go thry program files path & then mobile apps & then the DC -> component.....
    Reg,
    Nipun
    Edited by: Nipun Dev on Sep 22, 2010 11:12 AM

  • TS1398 My iPhone 4 is connected to wi-fi when i am home, but when i leave, i do not get any of my whatssapp messages. When i get back home again I get all the messages that has been send through the day. We do have 3G on network. Why is this?

    MY iPhone4 is connected to wi-fi, and all is fine at home. When i leave home, i do not get any of my whatsapp messages. When i return home, i get all the messages than was send during the day. Why does my phone not use the cellular network to get my whatsapp messages as my Nokia N8 did?
    This is my first iPhone, so i am having some troubles setting everything up!

    Please make sure that you are connected to the internet. There sould be a "3G or LTE or 4G or E symbol on the top left corner of the screen, if data is available to you.
    Whatsapp uses data services to send and receive messages. You need to be connected to the internet for that.

  • Polling messages based on priority in BPEL using JMS adapter

    Hi All,
    Is it possible to poll the messages based on the priority in BPEL using JMS adapter?
    I could set the priority for the messages but while polling it is picking the messages in FIFO(First in First out) order. But I want the messages to be picked on priority.Any help is appreciated.

    Do you only want to pick up messeges with a certain priority? So anything larger than say priority 2?
    You can try this: Oracle JCA Adapter for JMS - 11g Release 1 (11.1.1.5.0)
    Message SelectorThis field is also optional. It filters messages based on header and property information. The message selector rule is a Boolean expression. If the expression is true, then the message is consumed. If the expression is false, then the message is rejected.For example, you can enter logic, such as:
    JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected.
    JMSType = 'car' AND color = 'blue' AND weight > 2500
    Country in ('UK', 'US', 'France')

  • I have a 2011 mini with usb connector when I attempt to connect my nano I get the message that I do not have the correct adapter cable. I got the correct adapter cable from the Mini dealer. Any suggestions?

    I cannot get my Mini Cooper to sync up with my nano thru the USB port. When I hook up with the cable that came with the Nano, it acknowledges that it is an Ipod however it displays the message that I do not have the correct cable.  When I use the audtio adapter cable from BMW it doesn't see the Nano at all. Has anyone else had the issue and what did you do to over come it  I tried my nano in another persons car (a Ford) and it worked with no issue.

    This can sometimes be the result of a faulty/damaaged USB sync cable.  Do you have another cable you could test it out with?
    B-rock

Maybe you are looking for