Use JMS For Sync interface

Hi all ,
We would like to make a sync interface that retrieve information from the R/3, the send application is at the Mainframe so we use the WebSphere MQ to send the request to the XI using the JMS adapter and than to the R/3 via the RFC adapter (Appl A -> WbSphere MQ -> JMS Adapter -> XI -> RFC Adapter -> R/3 and via versa ).
Can we use the JMS adapter for that scenario ? can the JMS adapter be used for synchronous interface ?
Best Regards ,
Yaki

Yes you can use JMS. You will still have to interpret the message so you can update the database but your client can do this asynchronously. In other words the client can send the message to JMS and go about doing other things instead of having to wait for the process to complete. We are actually doing this sort of thing and it is working out well.

Similar Messages

  • Issues with TopLink Cache Coordination using JMS for manual DB updates

    Hi,
    We are having 2 web application using same Database and Toplink library but 2 session objects for both the applications. We are using JMS for cache coordination. JMS propagating messages successfully between the applications and able to see the same object changes in both the applications properly. Now, we are trying to refresh cache for manual updates in Database. We are trying to refresh single object which is modified in database in one application, refreshing in one application from which refresh happened but not in other application (JMS publishing the topic but updating one).
    Our intention is refreshing in one application so that JMS should coordinate and update in others when DB manual updates. Please let us know any comments for the same.
    Database using: Oracle 11g
    Toplink Version:- 9.0.3

    See,
    http://www.coderanch.com/t/592919/ORM/databases/Toplink-Cache-coordination-JMS-manual

  • Can I use JMS for this?

    User logs into our administrative console, selects a job, clicks run.
    Behind the scenes, the run command actually creates a job and returns XML which provides a long list of commands that need to be executed in order for that "job" the user triggered to be complete. This XML contains everything from shell scripts that need to be triggered to PL/SQL functions and stored procedures that need to be called...and they're listed in this XML file in the order they need to be executed and the next process in the list can only be executed when the process before it is finished. This all needs to go on behind the scenes, uninhibiting the user's experience on the website...so that's why I thought I might be able to use JMS but it seems everything needs to be written in java for this to work, which is a problem being I need to trigger runtime processes on the Linux box to execute shell scripts, which are not written in java...how would those shell scripts communicate with the JMS?
    Anyone doing anything like this? Examples somewhere? It's kind of like a job management console...the jobs are pretty complex and can take up to 45 minutes or more to complete, which is why we need to come up with a way to run them from the app server, but in the background, asynchronously from the user's website utilization. This obviously, because of the time some of these take to complete, can't be a request/response architecture...
    Thoughts? Help? Anything greatly appreciated.
    Thanks!
    rlb

              poorni wrote:
              > Hello everyone,
              > I need to send an alert message from the client to a server(which is
              > remote). Can I use JMS for this?.
              Yes.
              If so can anyone please suggest me
              > an open source JMS provider.
              WebLogic has JMS built-in.
              > Thank you,
              > poornima
              

  • How should i modify the hp54600a instrument driver for GPIB so i can use it for RS232 interface ?

    I try to modify the hp54600a instrument driver for GPIB, so i can use it with RS232. But somehow it didnt work. When i try to run the initilize it, the prgoram show VISA read error (time is up before the process is finish). How should I modify the VI so I can use it with RS232 interface ?

    First, check the instrument's user manual to see if the GPIB and serial command sets are the same. Also check to see what EOS(End of String) characters the instrument requires. Then, do a loopback test to test communication in LabVIEW.
    Search Results: Serial Loopback Test
    Ray K
    NI Applications EngineerMessage Edited by Molly K on 02-18-2005 10:57 PM

  • Is anyone else having problems syncing an external calendar app (Easy Calendar) with iCal using iCloud for syncing?

    Prior to upgrading to Mavericks, I would use iTunes to sync my two calendar apps--Easy Calendar (from the app store) and the native iCal and of course, I would wind up with the same calendar events on both calendars after syncing.  Since upgrading to Mavericks and--per Apple instructions, using iCloud to sync--I can't sync the two calendars.   At this point, I'm thoroughly confused about where I can go to find/see a backup of my non-iCal calendar app that's on my iPhone.  I'm beginning to think that if I don't use Apple's iCal, I can't back up or sync my calendar events using a non-native app such as Easy Calendar.  Is that correct?

    I, too, had long waiting times. Here's what worked for me.
    As I went through some of my Pages and Numbers documents, I got warnings that there were sync discrepancies (differing versions in iCloud and on my iPads and laptop). So, I removed everything from iCloud Drive using my laptop (saved to local folder). I let my iPads sync so they removed all the iCloud-based documents. On the laptop I went through and forced everything to the latest file format (latest Pages and Numbers on Yosemite) by re-saving, then copied everything back into iCloud Drive. My iPads both updated within seconds and everything now syncs quickly.
    Don't know if eliminating sync discrepancies is the solution, but it seems to have worked in my case. Hope it might help others.

  • Idocs can be used for Sync interfaces ? If required ...

    Hi Experts
                I am doing scenario legacy ---  Xi  -
    CRM
                but here we are using XI -- CRM standard IDOC but we want to go Sync
                way !!!  
               So Can i call the Standard Idocs Sync ? If yes how ?
    Adv...thanks and points
    rakesh

    Hi,
    Yu can handle IDoc Acknowledgements..
    IDOC Acknowledgements
    R/3 IDOC ->XI-> ORACLE Error Handling
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    Regards
    Chilla..

  • Problem with array type in SOAP response for sync interface

    Hi,
    We have a Synchronous Interface from SAP -->PI-->Unifier .The WSDL response has array type and when WSDL is imported it is showing red (I was able to activate  and use it in mapping) .We are able to send the request successfully and when retrieving the response we are getting mapping error .Please find the attachment for reference and response message from unifier .I feel that the error is because of array type .Could someone throw some light how we can solve this soon as it was a bit urgent .
    http://scn.sap.com/thread/326591
    I tried to create the Data Type and use the same instead of using the WSDL from External Definition but did not helped.Request your help in this.I have attached the WSDL for reference .
    The response is received as shown below which is giving mapping error :
    <ns1:getUDRDataResponse xmlns:ns1='http://diran:12020/ws/services/mainservice' soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><getUDRDataReturn href='#id0'/></ns1:getUDRDataResponse>
    The complete response looks like below where PI is not able to receive (this is retrieved from SOAP UI)
    <?xml version="1.0" encoding="utf-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    - <soapenv:Body> 
    - <ns1:getUDRDataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://general.service.webservices.skire.com"> 
    <getUDRDataReturn href="#id0" /> 
    </ns1:getUDRDataResponse>
    - <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:XMLObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="mainservice"> 
    <errorStatus soapenc:arrayType="xsd:string[0]" xsi:type="soapenc:Array" /> 
    <statusCode xsi:type="xsd:int">200</statusCode> 
    <xmlcontents xsi:type="xsd:string"><?xml version="1.0" encoding="UTF-8"?> <report> <report_header> <c1>Name</c1> <c2>Number</c2> <c3>Status</c3> <c4>Location</c4> <c5>Phase</c5> </report_header> <report_row> <c1>Test - Sprint 1 - v10</c1> <c2>GB424</c2> <c3>Active</c3> <c4>/North Sea</c4> <c5></c5> </report_row> <report_row> <c1>Test Training 3</c1> <c2>GB424-TRN3</c2> <c3>Active</c3> <c4>/North Sea</c4> <c5></c5> </report_row> </report></xmlcontents> 
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>

    Hi Praveen and Mark,
    Thanks for the help.I tried to use XSLT mapping for request and try to read Response as a single string but i was getting an error in SXMB_MONI with Cannot display document format,Do you want too save it to harddisk and i could not get rid of this even after pressing Yes in popup .
    Can some one help to extract only the xmlcontents  from the above response and map it to target where the target structure looks like
    <report>
    <report_header>
    <report_row>
    Please help .

  • Using iCloud for syncing Firefox settings

    Hi Community,
    is it possible to sync a Firefox profile on a couple of Mac's using Apples iCloud? At least the dictionary would be a great idea, because I'm writing a lot of blog and wiki articel's and the dictionary becomes more and more customized but in fact I'm using three different Mac's and of course three different dictionaries. It would be great to use one central dictionary. And last but not least there is a major problem with my MacBook, because this is not always connected to the Internet, so here I would need additionally a technique to use this offline as well.
    Is this practicable with Apple's iCloud?
    Thx & Bye Tom 

    prontosystems wrote:
    ...I've to confirm that I'm not a robot...

  • Dynamic receiver determination for synchron interface

    Hello everybody,
    I want to use dynamic receiver determination for a synchron scenario.
    The problem is, that the interface 'ReceiverDetermination' (http://sap.com/xi/XI/System SAP BASIS 7.00) is a asynchron interface.
    This leads to an error when activating the Interface-Mapping (synch source Interface -> asynch destination Interface ReceiverDetermination)
    Is there a way to use the dynamic receiver determination for synchron interface?
    Thanks a lot,
    Thomas

    Hi Thomas,
    I guess your scenario is not possible ASIS, since XI doesn't support 1:n for sync interfaces (and even if your mapping condition reduces it to 1:1, actually it is still 1:n, since your receiver list is unbounded).
    Theoretically, you could make it work with BPM, though.
    But I've never worked with a Receiver Determination Step reading from an enhanced receiver determination in ID (though there should be no problems).
    Use sync async bridge, then use receiver determination step to obtain the receiver from an enhanced Receiver Determination. Pay attention that this enhanced receiver determination is a dummy one, using a mapping from your async abstract interface to the ReceiverDetermination interface. Once your mapping has determined the receiver, the enhanced receiver determination will return that receiver to the Receiver Determination step in the BPM. Then use this receiver in the sync send step (in mode receiver from receiver list, not from context).
    The receiver determination of the actual sync send step may be a standard one, with the several receivers there (even if there are several there, at the moment of the sending, only one will be used).
    Maybe it will work, maybe not.
    Just try it.
    Regards,
    Henrique.

  • Re-using JMS Receiver Channel

    Hi,
    I have scenarios with SAP -> PI -> 2 Different External Parties.
    External Parties use JMS.
    There are some flows which are common for both the parties, like sending Acknowledgement from SAP to JMS.
    Now can I just configure one common Receiver Communication Channel and Send message (Acknowledgement) to any of the two Parties? So I will have two Receiver Agreements using the same Receiver JMS channel.
    Like by using some concept can I populate JMS channel parameters like IP Address or Server Name , JMS Queue
    Thank you,
    Pankaj.

    Hi,
    You need as many receiver channels as you have JMS queues. When you have 60 JMS queues, then you need 60
    channels.
    I have only 6 queues; one each for one Party.
    When you send all messages to same JMS queues and receiver can identify the message type anyhow, then you need
    only one channel for this queue.
    Ok.
    But even when you have only one JMS queue, you might need seperate channels anyway, for example when you use
    FCC for each interface individually.
    So basically if the setting is different then I need to have that number of channels. the way messages are sent is the same in all the cases. Even when we are using Dynamic Configuration it is the same for all the messages to be send to the External Party.
    Thank you,
    Pankaj.

  • Comparison : JBOSSMQ v/s JMS for a chat messenger

    Thanx
    Actually , I have already started using JMS for the chat messenger.
    But i am facing problem regarding creating dynamic queues or implement this dynamic queue feature anyways.
    Plz tell me the advantages of using JBOSS MQ over jms and comparison b/w the two if you can give.
    Thanx

    I would second that. Separate queues for separate interfaces gives much better control and flexibility. It may not be very important when you have only a few interfaces, but in future as you will keep adding more interfaces it will become important to control each interface independently depending on priority, load etc which you can easily achieve if you are using different queues.
    Some specific advantages of separate queues for separate interfaces:
    1. You can pause/resume consumption of messages for a specific interface. For ex. if your environment is facing performance issues because of overload you may want to pause low priority messages while continue processing high priority or critical messages. Obviously this will be for short term and you may want to look at sizing of your environment as the long term solution to the problem.
    2. You can configure different delivery parameters for different interfaces if you are using separate queue. So you can set one interface to provide reliable messaging by retrying failed messages automatically while you may configure the failed messages to be logged and not retried for another interface.
    3. You can independently do performance tuning for separate interfaces. For ex. you may configure more concurrent processing for an interface which will receive higher load compared to other interfaces.

  • JMS for Osgi-Bundle Communication

    Hey,
    I want to use jms for commuication between OSGi-Bundles. I have implementet the bundles so far, but I get the following error message:
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at jmsQueueStubBundlePackage.Activator.start(Activator.java:60)
         at org.knopflerfish.framework.BundleImpl$1.run(BundleImpl.java:281)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:255)
         at org.knopflerfish.framework.Framework.startBundle(Framework.java:453)
         at org.knopflerfish.framework.Main.handleArgs(Main.java:305)
         at org.knopflerfish.framework.Main.main(Main.java:190)
    Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
         ... 11 more
    Has anybody an idea, how I can fix this
    Chris

    Hello there,
    Many thanks for the reply,
    Well just clarify i may be wrong, i said i need 100 queues is because
    we have hunderds of brokers office where we can place orders
    our requirement is as below.
    a) One client can place multiple orders with MULTIPLE brokers simultaneously. i.e choose different brokers and do a long and short
    at the same time
    b) Now based on the brokers chosen by the client orders must be
    routed to multiple broker's office
    c) same way trade updates / trade confirmation's need to be sent
    to the client , please note that MULTIPLE brokers will be sending
    the orders to the SINGLE client
    d) Now i need a reliable channel to do this, both of the actions (point
    b and c ) is async . Unless i create a seperate queue for each of
    the brokers how is it possible to reliably (i mean specific broker / client) to communicate with each other
    e) It is a complex scenario , please do let me know if you can get the point , if not please do mention i will try to simplify my questions
    Would greatly appreciate if someone can help to scrutinize on the architecture , more importantly if JMS is appropriate here.
    Many thanks,

  • Can I use JMS in Java SE?

    Hi,
    We are developing a desktop application in plane Java SE.
    We thought of using JMS for the client-server events propagation.
    Is it possible to use JMS without a J2EE application server?
    I know I can do it in Spring, but we don't want to use the Spring framework just because of JMS.
    Please let me know if there is a way to incorporate JMS in Java SE desktop application.
    Thanks much,
    Sandeep

    Hi,
    We are developing a desktop application in plane Java SE.
    We thought of using JMS for the client-server events propagation.
    Is it possible to use JMS without a J2EE application server?
    I know I can do it in Spring, but we don't want to use the Spring framework just because of JMS.
    Please let me know if there is a way to incorporate JMS in Java SE desktop application.
    Thanks much,
    Sandeep

  • Using DVT for Anonymous user

    Hi,
    Can we use DVT for user interface customization for anonymous user,i need to use the DVT with out user login.Please let me know if there is any way of doing it
    Regards,
    Prabu

    Hi Prabu,
    Not really, no. If the user is anonymous, the Portal framework has no way of persisting the changes he/she makes into the database, because they can't be associated with a unique user.
    If you really wanted to, you could automatically log in a predefined user (aka. a user with the name "anonymous"). However, since everyone would be logged in as the same user, changes made by anyone would be seen by everyone, and users would be undoing/redoing each other's changes constantly.
    George

  • Toplink Cache Coordination using JMS - doesn't work, gives a warning

    Hi, I am trying to implement cache coordination on Oracle App Server 9.0.4 in a clustered environment. I have two application sessions configured to use JMS for cache coordination. When I make an update to one of the objects in one application which is cached and used by both the applications, I get the below warning in the log file and the changes does not propogate to the other application.
    [TopLink Warning]: 2007.10.23 01:45:17.463--ServerSession(802908582)--Thread(Thread[Thread-112,5,ApplicationServerThreadGroup])--null
    command failed due to: javax.jms.JMSException: getObject
    at com.evermind.server.jms.JMSUtils.makeJMSException(JMSUtils.java:1899)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1915)
    at com.evermind.server.jms.EvermindObjectMessage.getObject(EvermindObjectMessage.java:128)
    at oracle.toplink.internal.remotecommand.jms.JMSTopicRemoteConnection.onMessage(JMSTopicRemoteConnection.java:73)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager$JMSOnMessageHelper.run(JMSTopicTransportManager.java:261)
    I have no clue from the warning above as to what could be wrong. Does anybody have any idea? Is there a way I could debug and see what really is happening?
    Thanks
    Swapna

    Hi, thanks for your response.
    I set the logging level to all and this is the complete stack trace I see in the log.
    [TopLink Finest]: 2007.10.25 01:54:04.547--ServerSession(2121070148)--Thread(Thread[Thread-465,5,main])--Retreived remote message from
    JMS topic: ICMS Toplink topic
    [TopLink Warning]: 2007.10.25 01:54:04.555--ServerSession(2121070148)--Thread(Thread[Thread-465,5,main])--null command failed due to:
    javax.jms.JMSException: getObject
    at com.evermind.server.jms.JMSUtils.makeJMSException(JMSUtils.java:1899)
    at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1915)
    at com.evermind.server.jms.EvermindObjectMessage.getObject(EvermindObjectMessage.java:128)
    at oracle.toplink.internal.remotecommand.jms.JMSTopicRemoteConnection.onMessage(JMSTopicRemoteConnection.java:73)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager$JMSOnMessageHelper.run(JMSTopicTransportManager.java:261)
    I am using toplink version 10.1.3.1. I contacted Oracle Technical support but so far they were not able to figure this out. I will try using RMI as you suggested to make sure.
    I have another question to ask you about logging. I am working on a different application which is in production and uses toplink version 9.0.3. Due to excessive logging, I am trying to set the logging level to warning and I don't see this as an option in 9.0.3. The documentation does talk about it but using toplink workbench and I can't open the session.xml using Toplink workbench 9.0.3. Is it doable at all in toplink version 9.0.3?
    Thanks
    Swapna

Maybe you are looking for

  • How can I watch tv showers in my ipad purchased from apple tv

    Hi? I purchased tv showers using my apple tv but I wanna watch it from my iPad ? How

  • Screen inverter model no. - Macbook 3.1

    The backlight in my macbook recently turned defect. The computer is out of warranty and it can only pay to DIY. I am interested in buying a new 'inverter' for the screen or the cable that it uses. I have diagnosed the problem to being a defect invert

  • My X2-01 goes completely blank (shows white screen...

    Hi i m zeeshan i recently purchased X2-01. 1.Whenever i used my phone it shows a white screen for a second. 2. Also when i browse internet a message is displaed on the top of the page showing "a newer version of opera mini is available click to upgra

  • Photoshop Elements/Premiere 9 OEM Bundle not installing. Rolls back at end

    I have a toshiba satellite T135 with AMD Turion Neo X2 Dual Core processor L625, 4 GB RAM, ATI Radeon HD 3200 graphics operating on Windows 7 64 bit Home Premium edition. I am trying to install adobe photoshop elements 9 and adobe premiere elements 9

  • How can i reinstall mac osx

    Hello i want to install macosx tiger on my iBook G4 12" The installation dvd is the original provided with the iBook. Currently i have macosx 10.4. The probleme is that this computer was repaired by apple (motherboard changed) but they created an acc