How to recieve JMS id in code which is sending message

Hi All,
I am posting JMS messages from my jdeveloper to a topic on server. On server, a JMS id and result of processing (success or failue) is being created for every JMS file that my code is posting.
Can anyone please tell me how to read this JMS id and result in my existing code of sending JMS messages so that I can update the status of that particular JMS somewhere?

After sending a message, your sending code can call javax.jms.Message.getJMSMessageID() to obtain the message ID allocated by your JMS provider.
[http://java.sun.com/javaee/6/docs/api/javax/jms/Message.html#getJMSMessageID%28%29|http://java.sun.com/javaee/6/docs/api/javax/jms/Message.html#getJMSMessageID%28%29]
Nigel

Similar Messages

  • How do I retrieve answers  E-mail, which now sends him not me

    How do I retrieve answers
    E-mail, which now sends him not me

    Apple ID security issues -
    Call Apple Care for your country and ask for the Account Security Team. They can assist you with your issue.
    http://support.apple.com/kb/HT5699

  • How come my iMessage on my iPad doesn't send messages

    how come my iMessage on my iPad doesn't  send messages.

    I can't tell you without more information. Have you set it up correctly? Have you gone through the troubleshooting steps?
    http://support.apple.com/kb/ts2755

  • In Elements 11 how do I get the verification code needed to send files as e-mail attachments ?

    In Elements 11 how do I get the verification code to send files as e-mail attachments ?

    I’ve found it usually works best with web mail via Adobe after obtaining verification. I know some email services block bulk email completely and I’ve only tested it with Gmail which works fine. Should also work with other web mail e.g. Yahoo and Hotmail. Give it a try. Before you start it will help to check your internet security settings. If they are set to High, reduce the settings to Medium temporarily. Then follow these instructions.
    1. Log in to your mail provider on the web and add the following email to your address/contacts book.
    [email protected]
    2. Open Organizer and on the menu click:
    Edit >> Preferences >> Sharing
    3. Choose Adobe Email Service from the client dropdown menu.
    4. Add your name and email address to the fields provided and click OK
    5. Test the system (first use only)  by selecting a photo in organizer and choosing Share >> Photo Mail then click Next (Mac users should use attachments)
    6. Choose a contact then click  Next
    7. Click Next Step, then click Next - the sender verification dialog will open.
    8. Check you have spelt your email address correctly and hit the Resend E-Mail button.
    9. Go to your inbox (also check spam) and when the Adobe mailer message is received copy (Ctrl+C) the long verification code.
    10. Return to the verification dialog and paste it (Ctrl+V) into the Sender verification field and click OK. Wait for validation confirmation then click OK to continue

  • How can I debug a Tr. Code which is running in background

    I want to debug a Sapscript. Tr. code is 'F110'. In this tr code, two sapscript is running for cheque printing. This Tr Code is running in backgruond mode. I want to debug the Sapscript. How can I do that?
    Regards,
    Subhasish

    hi,
    For a batch job or long running program (SM50):
    Select the program to be debugged
    Menu: Program/Session -> Program -> Debugging
    In the job overview(SM37) you can debug each job with the ok-code JDBG.
    Warning : This is like a restart of the job.
    -> All possible updates will be executed !
    Refer to this link...
    how to debug in program in background
    Edited by: avinash kodarapu on Dec 22, 2008 4:10 PM

  • How can i change the e-mail which receive a message about forgotten security questions ?

    i want to change the security question but i cant remember the answers or the password for the e-mail that recieve the message about forgotten security question .

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104167)

  • How do I set up iMessage so I can send messages from my iPad to my iPhone using the same apple id

    I am trying to set up iMessage so I can send and receive messages on my iphone 5 and my iPad using the same apple id.

    I assume that you want to keep the same Apple ID on both devices for downloads and purchases but you just want to know how you can use Messages on both devices without creating a new Apple ID.
    On one of the two devices ....Settings>Messages>Send and Receive at>You can be reached by iMessage at>add another email address ... and enter another working email address. After you enter the email address and it is verified by Apple, go to the InBox of that email account, read the email from Apple and follow the instructions to complete the verification. Then go back to the settings and remove your Apple ID email address. You will now use that new email address at the contact at email address for messages on that device.
    You can keep your Apple ID email address and use that one on the other device.

  • How do I set up apple mail to only send messages from my address book to my inbox

    I have uverse internet and use an att.net. I am getting too much junk mail from business, etc. How do I set it up where I only get mail from my contacts in my inbox?

    Hello, not on 10.6 at the moment, but see if Mail>Preferences>Junk>Advanced has these setting choices...

  • TS3276 How can I escape a frame block with "Cannot send message using the server Gmail"?

    The Mail send window blocked with the additional message The server "smtp.gmail.com" did not recognise the following recipients:" and appears constantly. It does not prevent me using Mail but I want to get it off my desktop.
    Any ideas?

    Are there any unsent messages in the Outbox?

  • How can I set up imessage on iPhone to send messages from the name of number but not e-mail.

    I can set up iMessage on Macbook to send from the name of number, but can't do it on my iPhone after upgrading to 6.1

    If your iPhone and iPad are both running iOS 6, and your iPhone successfully registered it's phone number in Settings>Messages>Send & Receive, all you should have to do on your iPad is go to Settings>Messages>Send & Receive and sign in with the same Apple ID you are using on your phone. 
    If it is, and it still isn't working, try going to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in.

  • How to do jms with netweaverdeveloperstudio

    hi,
    can u pls tell how to do jms with nwds ?
    which things i need to configure in webas?
    how to write client for jms?
    regards
    Guru

    Please try the J2EE  engine (JMS) example first to have a better understanding of JMS given in portal/index.html
    I hope the following references may also help you
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
    Regards

  • 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.
              >
              

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

  • How to locate the source code which populate the SO number?

    Hi,
    For example:
    In T-code: VA01
    Put your cusor on the screen field : Standard Order
    Then press F1, get the technical info of this field as below shows:
    Screen field     VBAK-VBELN
    Program name     SAPMV45A
    Screen no.       4001
    So my question is, how to locate the source code which exactly to populate the SO number into VBAK-VBELN by the system automaticallly.
    As assumed that the system is generate this kind of SO autuomatically, and its number range is defined in SPRO.
    I just want to find out the coding part which gengerate the SO number.
    Want to see the source code of that...
    How to find it???
    Thanks.

    Hi Deepak,
    Thanks for the info..
    But i think i am also know that.
    Questions is dont know how to find the KEY statements that exactlly to generate the number...
    Anyway, 2 points to you.

Maybe you are looking for

  • Insert statement in when-checkbox-checked trigger doesn't work

    in a when-checkbox-checked trigger, I wrote the follwing code : IF :sunday = 'Y' THEN msg_alert('Y','I',false); pkg_var.v_day_count := pkg_var.v_day_count + 1; msg_alert('1','I',false); :schtm_skmk.day_id := '1'; msg_alert('2 ',I',false); INSERT INTO

  • JScrollBar - Issue when changing models

    Hey All- Well, I've come up with another interesting question which I haven't been able to resolve myself. Basically, I have a single view port which consists of a custom JPanel and (2) JScrollbar's. I then have multiple data and view models which ar

  • Does anyone know where the 10.0.1 update can be found?

    All that I find in the app store is the full $300 version.  Where are they hiding the update?

  • Session id  as part of URL

    Hi I am using WAS5.0 . I want to modify the URL so tht the session id becomes part of URL and request.isRequestedSessionId() should be same as it is displayed in the URL.

  • Bluetooth Headset won't stay connected under 10.6

    My PS3 headset use to stay connected under leopard but something in snow leopard doesnt like it. If I can get it connected it'll stay connected for a min. And i cant get the input meter to pickup any audio from the device. However on my iPhone and PS