Example of Weblogic Appserver using XA Controlled Transaction to send messages to third party JMS

          I am looking for Example of Weblogic Appserver using XA Controlled Transaction
          to send messages to third party JMS Server.
          I want to send messages to JMS and use Weblogic MDB to consume that message and
          send it to some third party JMS in a XA Controlled transaction.
          

Sure. Right now, it involves a bit of JTA programming -- in our next
          release, it should be easier, however.
          Before sending a message, you have to:
          -- Use the TxHelper class to get the current Transaction object.
          -- Use the "getXAResource" method on the JMS provider's Session object to
          get the XAResource object for the JMS Session you're using to send.
          -- Call "enlistResource" on the Transaction object.
          You MUST do this in every transaction where you use the JMS provider to send
          a message.
          You can find the documentation for the TxHelper class and other
          WebLogic-specific classes here:
          http://e-docs.bea.com/wls/docs70/javadocs/index.html
          Look for the "weblogic.transaction" package.
          You can find documentation for the Transaction class (which defines
          enlistResource) and other classes here:
          http://java.sun.com/products/jta/javadocs-1.0.1/index.html
          You should also use the weblogic.transaction.TransactionManager class and
          call "registerDynamicResource" once (and only once) in your application to
          register the JMS providers XAResource with JTA. This makes JTA more
          efficient, and it makes transaction recovery work properly.
          If the JMS provider is MQ, then look at the whitepaper "Using JTA
          transactions to envelope WLS JMS and IBM MQSeries" here:
          http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
          And finally, if you have more questions, the transaction people will be able
          to help more. Post to "weblogic.developer.interest.transaction".
          greg
          "Neeru Munjal" <[email protected]> wrote in message
          news:[email protected]...
          >
          > I am looking for Example of Weblogic Appserver using XA Controlled
          Transaction
          > to send messages to third party JMS Server.
          > I want to send messages to JMS and use Weblogic MDB to consume that
          message and
          > send it to some third party JMS in a XA Controlled transaction.
          >
          

Similar Messages

  • Using Weblogic MDB to consume message using a XA transaction with third party JMS Provider

              I understood from the WebLogic documentation that we can invoke a third party JMS
              using its XA interface from within a MDB where transaction-type is Container and
              trans-attribute is Required. Also we will need to specify its XAConnection factory
              name as connection-factory-jndi name. It that sufficient ?? Or do i need to set
              up some other attributes also ??.
              

              Hi Neeru,
              I understand u were able to solve this issue.
              I am using similar kind of configuration but instead of tibco i am using Webmethods.
              Could u please let me know what did u do to solve the problem?
              -thanks and regards.
              Praveen
              "Neeru Munjal" <[email protected]> wrote:
              >
              >Hi Rob,
              >I used the same whitepaper and tried to use TIBCO JMS with Weblogic server),
              >I
              >started with MDB example specified in Weblogic 7.0 release in examples/ejb20/message
              >and modified it to use trans-attribute as Required. Also I used connection
              >factory
              >which supports XA, but my MDB does not get called.
              >
              >Thanks & Regards
              >Neeru
              >
              >Rob Woollen <[email protected]> wrote:
              >>Here's a white paper about integrating 3rd party JMS providers with
              >WLS:
              >>
              >>http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whitepapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_jmsproviders.htm
              >>
              >>-- Rob
              >>
              >>Neeru Munjal wrote:
              >>> I understood from the WebLogic documentation that we can invoke a
              >third
              >>party JMS
              >>> using its XA interface from within a MDB where transaction-type is
              >>Container and
              >>> trans-attribute is Required. Also we will need to specify its XAConnection
              >>factory
              >>> name as connection-factory-jndi name. It that sufficient ?? Or do
              >i
              >>need to set
              >>> up some other attributes also ??.
              >>>
              >>
              >
              

  • Can you specify third party JMS Provider in Weblogic appserver configuration

              Can you specify third party JMS Provider in Weblogic appserver configuration ???
              Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
              DOES Weblogic has some kind of configuration files where you specify JMS Provider
              info (Like you can do that in JBOSS)
              

    You can also specify a third-party JMS provider using the Messaging Bridge,
              which transfers messages from one queue or topic to another.
              And in general, inside WLS you can use any JMS provider you wish anywhere
              that you can also use WLS JMS. In an upcoming release, there will also be
              some support to make foreign JMS providers a little easier to configure.
              But why would you want to use another JMS provider anyway? ;-)
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Can you specify third party JMS Provider in Weblogic appserver
              configuration ???
              >
              > Only place i know of is that you can specify third party JMS Provider in
              MDB configuraion.
              > DOES Weblogic has some kind of configuration files where you specify JMS
              Provider
              > info (Like you can do that in JBOSS)
              

  • Connecting to third party JMS Queue using Patchbay

    Hi All,
    We are trying to connect to a third party JMS queue configured in a remote weblogic server using ATG patcbay. We have configured the provider in dynamoMessagingSystem.xml and created a InitialContextFactory and provided all the queue configurations.
    When it tries to initializes it is trying to create a dynamic queue and saying that JMSHelper class is not configured so that it cannot create the queue (The queue exists in the remote server). When we given configurations based on the details available under C:\ATG\ATG10.0.3\WebLogic\JMSProvider, it is saying that we have to provide a TopicConnectionFactory (We dont need to use any Topics). If we provide TopicConnectionFactory then it will say that your connection factory don't have any Topics configured.
    I have read that for configuring with your application server's queue, this will try creating dynamic queues, but nowhere it is mentioned that how it will differentiate it is a third party queue or an application server queue.
    In our case the application server and the remote server which acts as queue server are Weblogic.
    Not sure why this is behaving like this and there is no proper documentation available in ATG that how to configure the third party queues using Patchbay.
    Any pointers regarding this would be of great help.
    Thanks,
    R.

    Hello kilgores. Welcome to the Apple Discussions!
    Something to ask your IT staff is if they use a proxy server for Internet access. If so, do they require proxy configuration scripts (.pac) to provide access to the Internet through your company's firewall. This information would normally be added to your browser's settings.
    For Safari: Preferences... > Advanced > Proxies > Change Settings... > Automatic Proxy Configuration

  • I recently lost my iPod and ive been using find my iPhone to send messages to it, my email instantly tells me that it had been displayed or it suonded off however it doesn't find it's current location. you guys think this app actually works??

    i recently lost my 3rd Gen iPod and ive been using find my iPhone to send messages to it, my email then instantly tells me that it had been displayed or it suonded off however it doesn't find the iPod's current location. you guys think this app actually works? i feel like my alerts are just bouncing back at me. please help. Thanks!

    ... AFAIC Location Services is a joke.
    With both devices sitting side by side on my kitchen table, Location Services has NEVER shown the devices to be any where close to each other, and at times Location Services has been as much as a 1/4 of a mile off between the two devices.
    Your iPod Touch has no GPS receiver so determining its location relies upon wireless routers whose location is known. Its "location" is actually that of a wireless router. Your iPhone 4 can use GPS, cellular triangulation, and Wi-Fi. One would think GPS would be most accurate but urban areas have a greater density of cells and GPS signals are easily obstructed so cellular triangulation is often more accurate.
    Therefore the two devices' locations can be expected to be different. Differences of a quarter mile are easily explained if you understand how location services works: http://support.apple.com/kb/HT1975
    Skyhook Wireless (I think Apple uses its own database now): http://www.skyhookwireless.com/howitworks/
    Location Services is not a "joke"; its intended use is for basic navigation and for such applications as determining where the nearest restaurant is. It cannot tell you that your iPod is under the couch cushions and that your iPhone is in the car.

  • Transaction with third party JMS providers and ejb

              I am using a container managed stateless session bean to send messages to an ibm
              mqseries running on the same computer. The EJB is deployed on weblogic 7.0. It
              seems that sending JMS messages do not participate in the transaction and that
              I have to call queueSession.commit() explicity every time. However, receiving
              messages via Message Driven Beans in a transaction is not a problem. Any clue
              how to resolve this or what is happening?
              

    To do this today, you'd have to get the "XAResource" object from your JMS
              provider's XASession object, and register it with JTA. I know this has come
              up before, and you should be able to find more about this on the newsgroup.
              Basically, every time you send a message, you need to do something like
              this:
              import javax.jms.*;
              import javax.transaction.*;
              XASession xaSession; // This is your vendor's XASession object
              XAResource xaResource = xaSession.getXAResource();
              Transaction tran = weblogic.transaction.TxHelper.getTransaction();
              tran.enlistResource(xaResource);
              // Now send your message!
              You need to call "enlistResource" every time you send a message, or it won't
              work.
              WebLogic Server 8.1 will be able to do this automatically as long as you're
              inside an EJB or a servlet.
              greg
              "raj" <[email protected]> wrote in message
              news:[email protected]..
              >
              > I am using a container managed stateless session bean to send messages to
              an ibm
              > mqseries running on the same computer. The EJB is deployed on weblogic
              7.0. It
              > seems that sending JMS messages do not participate in the transaction and
              that
              > I have to call queueSession.commit() explicity every time. However,
              receiving
              > messages via Message Driven Beans in a transaction is not a problem. Any
              clue
              > how to resolve this or what is happening?
              

  • Using Swiftmq as the third-party Jms provider in Weblogic11

    Hi, I am using swiftmq as 3rd-party jms provider in wls, however when I am trying to deploy a MDB listening on the queue configed in swiftmq.rar (resource adapter) in wls, it warns that ***MDB is unable to connect to the JMS destination: myforeigndestination.
    The Error was:
    weblogic.jms.common.InvalidDestinationException: Foreign destination
    , so do I need to configure a foreign connection factory and config the mdb to refers to this foreign connection factory? thx

    Hi, I am using swiftmq as 3rd-party jms provider in wls, however when I am trying to deploy a MDB listening on the queue configed in swiftmq.rar (resource adapter) in wls, it warns that ***MDB is unable to connect to the JMS destination: myforeigndestination.
    The Error was:
    weblogic.jms.common.InvalidDestinationException: Foreign destination
    , so do I need to configure a foreign connection factory and config the mdb to refers to this foreign connection factory? thx

  • Filtering Material while sending it to third party using IDoc

    Hi Guys,
       I have a requirement to sent material using BD21 or rather scheduling the program RBMIDOC to third part via XI. But there is a need to filter material based on MTART and WERKS. Using Program I understand it is acheivable..but when user wants to schedule the prog in backgroung using Message Type MATMAS, how to acheive the requirement....
    Any thoughts or suggestions are highly appreciated
    Thanks
    Debasis Roy Chowdhury

    Well.. I can suggest you a work around ..  where you can effectively use filter and customization....
    1. Enhance the message type MATMAS and include a new segement with a field XFIELD( Flag).
    2. The new Segment should a mandatory segment- IMP.
    2. Now fill this segment in BADI BADI_MATMAS_ALE_CR based on you valid material type. If it is valid then fill 'X'. else. space.
    3. Go to BD95 and maintain the entries create a custome ALE Object type. Now go to BD59 and maintain the entries ther as well.
    4. Now go toBD64 and create a Filter group. You can see that the custome field XFIELD is visible there. Set the filter value 'X'. That means if the material is valid then only it will send the IDoc else it will get filtered.

  • Hi,i hav a new laptop nd my songs on iphone is not stored in this computer,how can i store this songs from my iphone to my computer using itunes?? i hav tried other third party softwares but to use them i need to pay....pls help if possible.

    I am using itunes 10.4.1.10 version nd my iphone 4 is on 4.3.5....if anyone can help me would be very greatfull.
    Thank you.

    If you are not interested in purchasing any software, then your only other choice would be to take your iTunes backup that you made of your iTunes library and copy that over to the new computer. If you do not have that, then it could be difficult. However, if all of the content was purchased through iTunes, then after authorizing the computer with the Apple ID the songs were purchased on, you can transfer the purchases to the new computer.

  • Sending message to a JMS queue and making DB update through a single container managed transaction

    Can we use container managed transactions to send message to JMS queue and make DB updates in a sigle transaction. If yes then do we need 2pC license. I am using weblogic 6.0 SP2 and my database driver do not supports XA

    If your JMS provider is XA compliant, you can.
    If you are using WebLogic 6.0 JMS, it supports 2PC.
    The JDBC resource that does not support XA can participate in the global transaction
    creating a TXDataSource and setting "enable two-phase commit"=true in the Configuration
    panel.
    About the JMSConnectionFactory, on the console, in WebLogic 6.0, in the "Transaction"
    tab folder, set "User Transactions Enabled"=true.
    In your code, use non-transacted sessions.
    For 2pc protocol, you need a license or you'll get an exception.
    Sergi
    Manoj Bansal <[email protected]> wrote:
    Can we use container managed transactions to send message to JMS queue and
    make DB updates in a sigle transaction. If yes then do we need 2pC license.
    I am using weblogic 6.0 SP2 and my database driver do not supports XA

  • How can I use an iCloud email alias in Mailbox or other third party mail apps?

    I have an iCloud email address, but prefer to use one of my aliases for sending messages. Third-party email clients like Mailbox don't seem to recognize these aliases. Has anyone had luck here, or are iCloud aliases Mail.app-only animals?

    Mailboxes will handle aliases in Gmail, but not iCloud (no idea if that is in the works or not). Boxer makes no mention of aliases specifically for iCloud, but does support them in general.  I prefer Mailbox, but Boxer is a decent app.

  • How to do not insert the message content in the Message Inbox when use MFMessageComposeViewController control

    Dear all.
    In my app use the MFMessageComposeViewController control to send SMS message.The message content will be inserted to Message Inbox of iPhone.
    How to do not insert the message content in the Message Inbox when use this control?Because my message content has been encrypted. I don't want user can see them.
    Thanks

    I can't remember the steps, but if i'm not wrong, there are many "next" to click, and at the last windows, there is one dialog box with "do not show this message again".Maybe something to do with the registry, to enable to view this dialog box again. Date: Thu, 2 Feb 2012 06:38:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: How to enable  the option "do not show this message again" in dreamweaver cs5
        Re: How to enable  the option "do not show this message again" in dreamweaver cs5
        created by Murray ACP in Dreamweaver - View the full discussion
    So, you open Site manager, click New, and then what?  I'm trying to understand which dialog you dismissed.  Can you help me?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4180872#4180872
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4180872#4180872. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Third Party Application Control

    How can I gain control of the windows of a third party application.
    For example, if I write a program to startup Freecell, how would I go about starting a new game, goinf to file on the menubar and saying new game.

    You get yourself a reference book on how to use the Windows APIs. Then you write some JNI code that uses those APIs. There is no pure Java method of doing that.

  • Garbage added to log while sending message to Weblogic JMS topic

    Hi All,
    Was able to sucessfully send messages to Weblogic JMS topic and also able recieve them.
    But while sending the messages to topic loy of debug statements are printed to the standard output
    This is seen only in production and not in developement, and expecting it due config issue...
    Any ideas on this is greatly appriciatied.
    Thanks in advance !
    Cheers,
    Ambha

    Thanks for the replies,
    The problem is certainly not with logger settings...
    The statements which are getting printed are SSL debugging
    The following settings are used by the application which sends messages to the topic :
    Dssl.debug=true
    Dweblogic.StdoutDebugEnabled=true
    These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
    in UAT and Production I am not sure...
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    any Ideas... ?
    Thanks
    Ambha

  • How to control an Apple Base Station with 3rd-party wireless card?

    I recently upgraded my early 2004 Power Mac G5 2GHz DP to the 802.11n standard using a Newertechnology MAXPower 802.11n/g/b Wireless PCI Adapter to communicate with my new "n"-standard 2TB Time Capsule. My G5 shipped with an 802.11g-standard Airport Card which I disconnected when I installed the PCI card to avoid hardware conflicts. The new n-standard wireless set-up works without a problem, but having lost the Apple Airport Card, I no longer have the ability to control/manipulate the Timecapsule via the third-party card e.g. I cannot connect/disconnect my internet connection or otherwise troubleshoot the base station.
    So, the question is, how can control an Apple base station with a third-party wireless card? As it stands now, I must boot up my laptop just to see if I have a connection.
    My thanks in advance,
    T. North
    Brussels, Belgium

    Thanks for the assistance. Yes, I can indeed administer the Time Capsule from inside the Airport Utility, but I am still unable to connect or disconnect the Internet connection like you can with an Airport card (using the Airport drop-down menu.) If my ISP signal drops for whatever reason (which is does often) I have to boot up my laptop just to reconnect. Is there some feature within the Airport Utility that permits one to connect/disconnect the signal? If there is, I haven't found it yet.

Maybe you are looking for