File to JMS sceanrio

Experts,
   I am working on a scenario in which have to send a txt file as an attachment to the mail box.
XI will pick up teh file from a location and send to the mail box as an attachment to the concerned recipients.
1) Do I need to design any data type, message type or message interface. also let me know any mapping is required?
2) Can any one please tell , how to configure the JMS adapter at the receiver side.
3) Is JMS adapter  is the right option to use for sending mails as an attachment.
Thanks
Virendra

>    I am working on a scenario in which have to send a txt file as an attachment to the mail box.
>
> XI will pick up teh file from a location and send to the mail box as an attachment to the concerned recipients.
>
> 1) Do I need to design any data type, message type or message interface. also let me know any mapping is required?
If there is no mapping logic required,just copying the file and send to mail box as an attachment then no mapping required
>
> 2) Can any one please tell , how to configure the JMS adapter at the receiver side.
Why you required JMS Adapter in this case?? use Mail Receiver adapter,JMS adapter not going to help at all.
>
> 3) Is JMS adapter  is the right option to use for sending mails as an attachment.
>
Receiver  Mail Adapter is the option in your case,use mail packgae while configuring Mail Adapter.
the usage of JMS adapter is different.
search in sdn for more info on Mail Adapter.
Regards,
Raj

Similar Messages

  • File - soap - JMS

    Hi All ,
    I am trying to achieve the scenario File - soap - JMS using the below page in wiki
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&
    I was able to run the file - soap - file scenario as described in the WIKI but when I change the receiver
    file adapter to JMS I am getting the following error
    Attempt to process file failed with com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    Please let me know how to get away with this error .
    Thanks
    KLK

    Thanks Sarvesh ,
    But this is not a Cache Issue , When I change the JMS adapter to File the error is resolved .
    I did  try SXI_CACHE before and it did nt solve the issue.
    Thanks
    KLK

  • File to JMS Scenario - Error is Receiver JMS Adapter

    Hi,
    I am working on File to JMS scenario. I have deployed all required jars for MQ 6.0.2 in SDM. Create all MQ related objects. I am getting following error for Receiver JMS adapter in CC Monitoring.
    Please let me know if I have missed anything. Is there anything to do in Visiual Administrator->JMS Provider or JMS Connector for these kind of Scenarios?
    Thanks in Advance...
    Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'sap:QM_APPLE'
    at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
    at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
    at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1532)
    com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:212)
    at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318)

    Hi,
    I have made my Qmanager as default Qmgr. Now the error is :- Socket connection attempt refused
    Recv JMS Communication Channel Error:-
    Error during channel initialization; exception trace: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'sap:QM_APPLE'
    at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
    at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
    at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1532)
    com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
    MQJE011: Socket connection attempt refused
    at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:212)
    at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318)

  • Sender JMS Synchronous communication channel not picking up files from JMS

    Hello,
    One of our Sender JMS synchronous communication channel (used Sync/Async bridge in the module section to make it Synchronous) is not picking up files from JMS system though the channel looks to be active (greeen).
    When I am trying to stop the channel, it is giving error as "1 of 1 administered and selected channels have not been stopped", and after this when I start the cannel again it shows green but not picking up any files.
    if anyone is haivng any solution for this, please reply back.
    Thanks in advance.

    Messages available in JMS system? please check queue's if message were there and it is not picking up then some thing wrong with cc.
    simple solution create new communication channel with same details and try to use the same.

  • Regarding File to JMS scenario

    Hi friends please help me on file 2 JMS scenario. send me the screen shots of the below scenario.

    Hi
    Refer to following blogs .
    JMS Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20the%20content%20conversion%20module%20with%20the%20xi%203%20j2ee%20jms%20adapter
    /thread/217893 [original link is broken]
    JMS adapter -Message format pre-requisites
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    Please go through the following links.....
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    First would be to deploy drivers for JMS scenarios - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Secondly, to configure JMS adapters;
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    In case JMS scenario that you have is a sync one, in that case if you are below SP19 you might have to build a BPM - ref: http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Else ref:
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    How to correlate JMS messages - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Thanks!!

  • Can we handle content convertion for TabDelimiter flat file in JMS

    Hi,
    Is it possible to handle content conversion for TabDelimiter flat file in JMS (Not in FILE adapter).
    If possible .. can you please explain.
    Regards,
    Siva.

    Hi, Siva:
    Yes, this is possible.
    The way that JMS adapter to handle content cnversion is similar to the way file adapter does.
    Different from file adapter, you do not have to specify "Content Conversion" as transport protocol, you need to use transformation bean (localejbs/AF_Modules/MessageTransformBean) in Module tab.
    Check page 23 of the following link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    Liang

  • How to retrive data from .XML file to JMS

    hi friends.. this is vamsi from india.. i have been working on jsp, java bean, xml, jms, message driven bean , ejb and database from last couple of days. but i am not able to retrieve data from fields in xml file to jms. can any one help me out in retrieving the data from xml to jms..
    thanking you,
    vamsi.

    Database but we are not able to retrieve the values
    from XML to JMS."We are not able to" is too vague a statement. An answer to this could well be "Did you turn your computer on?"
    So again, please post formatted code showing what you have done and where you are stuck.
    Perhaps an error message and/or a stack trace if appropriate.

  • File to JMS

    Hi,
    Is there any blog that gives a step by step procedure for file to jms scenario.

    Hi,
    Please go through the following links.....
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    First would be to deploy drivers for JMS scenarios - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Secondly, to configure JMS adapters;
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    In case JMS scenario that you have is a sync one, in that case if you are below SP19 you might have to build a BPM - ref: http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Else ref:
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    How to correlate JMS messages - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Please Reward Points******
    Cheers.,
    Stallin

  • Send A file Using JMS

    I want to send a file Using JMS.. and want to have
    These Details in the message that send.
    Receivers IP address & The file
    That mean I want to send a File from one client to another client Using a Queue
    Can Anyone help me to solve this problem
    thanks

    Read the file then use a JMS BytesMessage or TextMessage. Add your own JMS header for the recievers ip and any other info you want to annotate the message with.
    Watch out for character encoding and max file size problems.
    If your client / server are not on the same network you're likely to run into firewall issues.
    Don't kid yourself that this will be a transactional solution.
    Assumes both clients are Java (JMS headers are a pain to read otherwise)

  • Send file at JMS without PI, is it possible ?

    Hi expert,
    in my system there's not PI, is it possible to send file on JMS ? How can I do it ?
    tks a lot

    It is better write in the system from where you want to send the file.
    >Can I solve this problem if I store the file in the sap directories, and JMS come inside sap directory to read the file ?
    Do you mean JMS server has to read the file data. No, that is not possible.
    JMS server concept is, we have to push/pull data using some JMS client.
    Thanks,
    - Gujjeti.
    Edited by: Praveen Gujjeti on Mar 19, 2009 3:44 PM

  • Need file to JMS with complete screen shots....!!!!

    hi all plzzzz post me file to JMS with complete screen shots...i have tried for the same in the forums but i didnt got with exact screen shots...!!!
    thnx in advance to all

    I guess no buddy can provide you exact indepth steps with screen shots. You need to start working with whatever you have it and then ask your question into some particular area which you face during your disign. Best option is to satrt with sap help.
    Regards,
    Sarvesh

  • How o place Flat file Using JMS Adapter.

    Hi Frnds,
    I have one scenario ,
    Sender side i am having IDOC, i want convet the IDOC into Flat file. But my receiver side i have to use only JMS Adapter,
    Flat file i have to place in FTP Server using JMS Adapter.
    Can ne share your thoughts..
    Regards,
    raj

    Raj,
    The below Link will help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
    Surya,
    Welcome Back to SDN.
    Regards
    Agasthuri Doss

  • Error in reciever JMS adapter  (SENARIO  FILE - XI- JMS )

    HI everyone,
    My previous error is solved (Error in getting initialcontext). I have deployed the required jar files on server.
    Thanks to you'll.
    Now I am getting the following error in JMS adapter monitoring RECIEVER CHANNEL . NO DETAIL INFORMTION SET.
    i AM USING IBM websphere MQ series for recieving JMS messages from XI.
    I have made Queue manager,
    Queue,
    reciever channel.
    and have also provided the following details in my communication channel in XI
    QueueConnection FactoryJavaClass : com.ibm.mq.jms.MQQueueConnectionFactory
    QueueJavaClass : com.ibm.mq.jms.MQQueue
    Ip address or server name : <my ip address> since i have installed IBM JMS server on my system.
    server port :1415
    QueueManagerName :QM_apple
    channel name : reciever_channel
    jms Queue: Q1
    character set id (ccsid): This I have not given , Idont know what to give here
    Transport protocol :tcp/ip
    Please guide me to go further , I am stucked at the error , No reciever details set. What should i do?

    Hi  Deepak ,
    Please refer this forum post .. if this helps.
    Reg:Receiver Mail Adapter
    Regards,
    srinivas

  • Jar files for jms websphere

    Hello Experts,
    We are trying to establish connection between PI and webshpere ,for that we are using JMS adapter.
    And in the channel we are getting the error as:
    Error connecting due to missing class: com.ibm.websphere.naming.WsnInitialContextFactory. Ensure that all resources required are present in the JMS provider library: com.sap.aii.adapter.lib.sda
    Can anyone please provide me the required jar files or the path from where i can download the .jar files required for this purpose.
    Regards
    Naveen

    Hi,
    Thanks for your reply ,i have installed 2 jar files:
    naming .jar and
    javax.j2ee.connector.jar.
    But still geting the error as :
    Channel error occurred. Detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=iiop://xyz, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory, java.naming.security.principal=xyz, java.naming.security.credentials=xyz}for profile: ConnectionProfile of channel: JMSSender_MESon node: xyz having object id: xyz: javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:65)<br> ...
    Urgent help required..
    Thanks

  • Flat file via JMS - how to (most easy)?

    Hi experts
    My scenaio is R/3 -> XI (technology not decided) -> legacy system (via flat file structure and JMS)
    I would like to find the best way to do this. The receiving system only takes a flat file with 150 char length in each line.
    Until now i have tried to do this using test message to XI and then do a pseudo mapping to a XML structure. This XML is then parsed to a flat file in the JMS adtapter using module localejbs/AF_Modules/MessageTransformBean. This "parsing" is a rather time consuming solution and im not sure it is the best solution.
    I just saw a how to guide explaning how to make a flat file from a IDOC-XML using ABAP mapping. I could use this by just making sure my IDOC segments was 150 char length. The downside of this is that XI is reduced to a IDOX-XML transformer and hides no complexity for the R/3 system.
    What do you think is the rigth way to go? Is there an even better solution?
    Kind regards
    Martin

    The mention HOW TO guide is:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    And I sould mention I would like to also receive data from the legacy system (wich also sends files with 150 char lines)

Maybe you are looking for

  • Error "Item is not defined as an Inventory Item" using oInventoryGenEntry

    I am trying to create a Receipt from Production with this code:                 receive = (Documents)_Company.GetBusinessObject(BoObjectTypes.oInventoryGenEntry);                 receiveLine = receive.Lines;                         receiveLine.BaseTy

  • Change pointer perfomance issue(bd22)

    Hi, we are using message type HRMD_A to transfer the employee change data using the program RBDMIDOC. we are checking two table BDCP n BDCPS, but because of large number of data we r facing a perfomance issue here. I read in one forum about transacti

  • Bad Sync

    Hi. My 6822 wont complete the sync process. PC Suite tells me the sync has finished but the phone just dislays "quitting sync" forever. I have to stop it by presseing the end call button. Next time I sync the phone creates duplicates in Outlook (pres

  • Starting fresh...tips/info on backup

    I am a windows user and formatting the hardrive every year has been in my blood. Now my first apple, my powerbook, has been running great and there is really no immidiate need to format, but I have noticed a slow down, partiually due to uninstalling

  • How to obtain movies on iPad2 at reasonable cost?

    I just received my iPad2 and would like to view movies on it while away from home. The information that I have obtained so far indicates that using the ATT Data plan would be very expensive since they told me their basic plan for 30 days is $15.00, b