How can I send my response to the required thread

Let me try and explain my question:
My request is coming from an apllication and going to another but meanwhile the 1st connection has to be kept open and it will get response based on response coming from 2nd application
Now since the control has gone to 2nd apllication, how can the Java Server/client between these 2 application know where the response has to go
Thanks for your help
Original Question
1.external appl ABC send message on 1 connection to Java Server and then Java Server writes it to a directory(this connection (say connecA)has to be left open)
2. Another java client will pick up this message from dir and send to another appl XYZ which generates a response and sends it back to JAVA
and I want to convey this response back to the first appl on the same
connection(connecA)
In the meanwhile ABC has generated another request so there should be a way for me to able to identify the corresponding connection
(appl ABC is multithreaded and communicating via TCP/IP)

quick way, generate a request id.
but beware the requesting application should
be informed about the request id, too.
Regards,
Ashish

Similar Messages

  • How can I send multiple pictures to the Kodak link (under file & then order prints)? if the photos are not sequential can it be done?

    how can I send multiple pictures to the Kodak link (under file & then order prints)?  if the photos are not sequential can it be done?

    Does the order matter here?Because the photos will be sent for printing. If there is any other reason, can you please cite example.

  • How can I send an article in the news as a text message?

    I would like to send a article in the news to a friend but not sure on how I can do that. Like how can I send a link to my friend?

    Hello there,
    You can copy and paste the URL and send it via SMS. https://support.mozilla.org/en-US/kb/how-do-i-copy-and-paste-text-android
    For other sharing options follow these steps: https://support.mozilla.org/en-US/kb/how-do-i-share-things-firefox-android
    Hope this helps!

  • How can I send a message in the iPod touch 5g

    I can not send a message from iMessage how can I send messages

    Yepezlitzy123 wrote:
    I can not send a message from iMessage how can I send messages
    You do not state what happens when you try...
    See here...About Messages
    And...
    Using Messages  >  http://support.apple.com/kb/HT3529
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755

  • Two questions 1. how can I send multiple photos to the same number 2. how do I assign a silent ringtone to a number?

    I want to send three photos to the same phone number. How can I do this without sending three seperate texts? Also how do I assign a silent ringtone to a number to block that number?

    you should be able to copy/paste more than one photo into an imessage by holding down on the entry field. When it comes to MMS, the number of pictures you can send is dictated by your carrier
    You could try using this service to create a special ringtone that has no actual sound content
    http://technologyguy.hubpages.com/hub/Convert-iTunes-music-into-ringtone-for-iPh one
    Just make the section of the song that you convert a silent part of a song (like the very beginning or end)

  • How can i send files stored in the database as an attachment?

    hello
    is it possible to send files witch are stored in database as an attachment ?
    how can i do that?
    thanks

    You need to use a Java stored procedure created within the Orcale 8i database.
    This Java stored procedure should import the java mail classes.
    Qurashi

  • How can I send this Spam to the trash?

    I am sure that all of you get the e-mail "Spam" for Viagra + Cialis with the 4 pills, 2 blue and 2 yellow. How can I set a Mail rule to have it put into the trash?

    Junk filters don't work all that well, since spammers have all kinds of tricks to throw them off - things such as putting in lots of random text to clog it up, using images instead of text, or spoofing the addresses. I only use a couple of rules - if the 'from' address contains mine, or if the sender is not in my address book, it goes straight to junk. From there, a quick look at the junk subjects/addresses will tell me if I even want to look at a message, otherwise I periodically erase the junk mail without opening anything.

  • How can I send an imessage when the conversation is using jabber

    I have a conversation going with a friend which started on iMessage, then transferred to jabber (google talk).
    - He's now offline, so I want to send an imessage in the existing conversation.
    - If I send anything it attempts to use jabber.
    - I already have a second conversation going as the only way I could see around this last time was to create a new imessage conversation.
    - The contact drop down only has jabber as an option for the user.
    How can I do this?!

    I have a conversation going with a friend which started on iMessage, then transferred to jabber (google talk).
    - He's now offline, so I want to send an imessage in the existing conversation.
    - If I send anything it attempts to use jabber.
    - I already have a second conversation going as the only way I could see around this last time was to create a new imessage conversation.
    - The contact drop down only has jabber as an option for the user.
    How can I do this?!

  • How can I verify if I meet the requirements to use ICloud?

    I would like to save my pictures and videos in ICloud because I have an old version of OS X.

    You must be using 10.7.2 or later for iCloud. You have 10.5.8.
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mavericks if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading from Snow Leopard to Lion or Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8, Lion, or Mountain Lion installed. Purchase and download Mavericks (Free) from the App Store. Sign in using your Apple ID. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mavericks- System Requirements
           Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
    You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

  • How can I add a response to the end of each item question in an email list of questions and send that back to the originator?

    I have emails that ask for certian items to be addressed such as "please fix leak in bath sink" and then the next line will have another request and on and on. I would like to answer each question at the end of each line with a response (preferably in a different color font to stand out) such as "yes - will fix" or "that can't be done" or "you will have to fix that yourself". Then I want to send that reply back to the original sender.

    ''sfhowes [[#answer-697423|said]]''
    <blockquote>
    I suggest you consider this add-on: [https://addons.mozilla.org/en-US/thunderbird/addon/clippings/ Clippings] ([http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html How to install]).
    </blockquote>
    I did look int this but I need to have each answer different in a lot of cases but i thank you and did get an answer that does help greatly - Thanks

  • How can we send two invoicess for the customer addresses

    hai
        experts i have a problem with invoice my customer is having 2 different addresses. customer requirement is at the time of billing he wants two invoicess for two different addresses. please can any one help me out
    thanks regards
    anwar

    Use Two out put condition type for two deffferent partner functions.Maintain Out put condition records also for the same.
    system wile give you two out put with two output types for the same invoice
    Example:
    Sold to party:X1
    Payer:Y1
    Maintain Out put Types
    ZSOL for sold to party and
    ZPAY for Payer
    condition records for ZSOL for sold to party and ZPAY for Payer
    I hope this should resolve your problem.
    Regards,
    Rama Krishna

  • How can I send deleted emails to the recycle bin vs just deleting them with my eamail system?

    I have a program that when I empty the recycle bin, it also wipes the allocated space to delete the files totally from the hard cleans the hard disk and gives me space. Space that I need. I get a lot of emails that are large. I don't know if deleting them with "yahoo" opens up space. But using this program with items in the recycle bin will. I have Windows 7 on one computer and windows xp on the other. I need to clean up both computers the best I can so there is space for me to install other items that are rather large sized. Please help. Thank you.

    Are you talking about files from webmail? If you clear the browser cache, does that not free up some space?

  • How can I send text messages without being a thread as an group??

    Hi guys, I want to send text messages so several person without being an SMS as an group chat.
    Why do I want it?? Well it's mostly to send Christmas greetings to several persons without they know to whom I send to because many of them dot even know each other.. And I don't want the recipients to see the numbers of other recipients..
    I've read in the forum that you can turn off the "group messaging" in the "messages" bar. However i don't have that, so is there any other ways I can aens text without it being an SMS as group????

    naxster wrote:
    I've read in the forum that you can turn off the "group messaging" in the "messages" bar. However i don't have that, so is there any other ways I can aens text without it being an SMS as group????
    Thats because use you're not looking I the right place.  Settings -> Messages -> group messaging

  • How can I send request to the server through XML using JSP

    How can I send XML request to the server using JSP and servlets

    Ajax may be the one way.

  • How can I send Invoices in VF01/VF02 to DMS?

    How can I send my invoices from the output type in VF01/VF02 to DMS(Document Management System) or ArchiveLink Content Server as printlists?
    Thanks,
    YK

    Unless you have the emailed receipts for the purchases (you should be able to do copy-and-paste from them) then I think that you will need to type them in - I don't think that you can do copy-and-paste from the purchase history on iTunes (it doesn't work on mine).

Maybe you are looking for