TCP/IP adapter + BizTalk with aysnchnrous request

This is my scenario:
I have a Console App A which is Asynchronous Client(get the link from http://msdn.microsoft.com/en-us/library/bew39x2a(v=vs.110).aspx).It is sending a
NCPDP message to a another Console App B which is Asynchronous Server(get the http://msdn.microsoft.com/en-us/library/fx6588te(v=vs.110).aspx).
I am getting the NCPDP message from database.
Now I want to send this NCPDP message to BizTalk Server through TCP/IP adapter.BizTalk will send this message to another Console App C which is Asynchronous Server
(get the http://msdn.microsoft.com/en-us/library/fx6588te(v=vs.110).aspx).This server will send the NCPDP message to a another Console App D which is Asynchronous
Client.This Console App D will get the response(new NCPDP message) from DB according to coming NCPDP message and send it to App C.App C will send this response to
BizTalk Server through TCP/IP adapter.And BizTalk will send this response to App B and App B will send this response to App A.
But the problem is that untill I get the response from BizTalk, I am unable to send another request from console app A to app B.
I want that BizTalk process multiple request at the same time.
I want that My console app A will not wait for BizTalk response to send another request.
How it is possible ?
The code given in msdn :
http://msdn.microsoft.com/en-us/library/bew39x2a(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/fx6588te(v=vs.110).aspx
will fulfill my requirement or I have to use some another technique ?
Prakash

I have to ask again why you're doing it this way since this is the third or fourth time you've asked about this scenario and the situation really hasn't changed.
I'll first point out that the names of those samples are a bit ambiguous and very easy to misinterpret. 
The first link is not an "Asynchronous Client".  It is a single threaded client that uses an
asynchronous TCP socket.  Big difference.  The client itself as a whole, specifically the StartClient() method is a synchronous operations, note the three ManualResetEvents.
For clarity, this is not a problem with BizTalk.
To get what you want, your main client program would have to create and manage multiple instances of AsynchronousClinent, each managing a connection internally.  However, at that point, it's important to note that the Synchronous Client
Socket sample will give you the same behavior since the request/response pattern is by nature a synchronous operation.
I will also restate my recommendation to take the functionality of the socket Server and implement it in BizTalk directly.

Similar Messages

  • TCP-IP Adapter in biztalk

    Hi,
    In my current project we are using TCP-IP Adapter for BizTalk server 2010..We don't know about the TCP-IP Adapter in BizTalk server please share me any links about the TCP -IP adapter. Really we don't know the TCP-IP Adapter. Why we use TCP-IP adapter. How
    to configure the adapter. how can we use the adapter. Please help any one
    Thanks & Regards,
    Naresh988

    Dulicate Thread
    http://social.msdn.microsoft.com/Forums/en-US/c971b6da-14fb-4308-b2e2-434fc5bf621b/tcpip-adapter-in-biztalk-server-2010?forum=biztalkgeneral
    Hi Naresh ,
    As been suggested you can use  TC/Ip adapter available over codeplex
    http://tcpipbz2010.codeplex.com/
    Thanks
    Abhishek

  • How biztalk handle multiple request at a time ?

    can TCP/IP adapter or biztalk handles multiple request at a time ?
    If yes,then how it process multiple request ? 
    Can TCP/IP send ports sends multiple request ?
    Prakash

    Yes.
    It processes multiple requests using THREADS. Each Connect starts off a thread that handles the receipt of the message, submission to BizTalk, wait for the response (matching two-way subscription) and then respond back to the client.
    TCP/IP Send ports handle multiple requests by creating fresh sockets (RPC High-end ports). As an example, in your browser you open multiple tabs and access different sites, each tab results in your browser opening a fresh socket connection for the request.
    Regards.

  • Difference between WCF-NetTCP and TCP/IP adapter

    What is the difference between WCF-NetTCP and TCP/IP adapter ?
    Are both work in the same way or there is any similarity in their working ?
    Prakash

    Hi Ashwin,
    Yes,I am  referring to Codeplex based community adapterhttp://tcpipbz2010.codeplex.com/ for TCP/IP
    adapter.
    As from your reply ,both adapters can perform the same task .Right ?
    Actually I am using socket programming to connect TCP/IP adapter.
    Can I do this with WCF-NetTCP adapter ?
    Prakash

  • Will an Infra-Red Adapter work with a macbook pro retina display so I can use the apple TV remote for presentations?

    I have always used the apple TV remote for my presentations.  I bought a retina display last year for the betterment of my presentations and now I have to stand near my computer and hit a button to change my slides where as before I used my remote.  Will a infra-red adapter work with the apple TV remote in the macbook pro retina display?  Love my computer, but very disappointed not to have a remote for presentations that does not need the internet.  Does anyone have any ideas?

    Yes, I used that and it works great if you have wireless connection.  Im looking for  a remote that worked like the apple TV remote.  My questions is, "Is there a USB infra-red remote that works with mac.  I have found this one: Keyspan EZ1 easy presenter.  It claims with works with PC and Mac and the reviews are good.  Does anyone know anything about it or if it works with retina display macs?

  • Will the mini display port to vga adapter work with a 2007 mac book?

    will the mini display port to vga adapter work with a 2007 mac book?

    I think your Macbook came with a Mini DVI port instead of a Mini Display port.

  • Does the "Mini DisplayPort to VGA Adapter" work with all Samsung tv models?

    Does the "Mini DisplayPort to VGA Adapter" work with all Samsung tv models?

    It's a VGA adapter. Nothing special about that. If your Samsung monitor supports VGA then it will work.
    But why not go completely digital and use a Mini DisplayPort to HDMI adapter to skip the analog conversion? It also supports passing audio over HDMI.
    About Mini DisplayPort to HDMI adapters

  • Mini dvi to dvi adapter interferes with airport ?

    Hi,
    I am seeing slower network speed (20% of the normal speed), when I use the mini-dvi-to-dvi adapter... I also have a mini-dvi-to-vga adapter which doesn't cause this network speed degradation.
    I guess the dvi adapter somehow interferes with the signals the airport sends and receives. The adapter comes with a very short cable (a couple of inches), so I can't move it out of the way to reduce interference (assuming that is the issue).
    In both cases, the adapters connect to the same external display (1920 x 1200) and they both work fine for my monitor. But I'd like to use the mini-dvi-to-dvi adapter because of the (slightly) better picture quality.
    But perhaps it's not interference, anyone else has ideas ?
    Unless anyone has a suggestion, I am going to return the mini-dvi-to-dvi adapter because it's pretty useless if it interferes with the airport.
    For now, I'd recommend others to buy a mini-dvi-to-vga adapter for their external displays...
    iMac, Mac Book and Mac Mini   Mac OS X (10.4.8)  

    Yes, I have that option set... but your response reminds me that that I haven't tried setting it off, see if that makes a difference (would be quite ironical if setting off "robustness" fixed it
    Since yours works, I wonder if it depends on the wireless router I use; I have a Netgear WTG624
    Thanks,

  • Message: Enter a country for partner xyz with type 'requester'

    We are using SRM Server 500.
    I am customizing a new installation. When I create a SC in classic scenario using "Describe Requirement" I get following messages:
    "Enter a country for partner 0000000081 with type requester."
    "Enter a country for partner 0000000081 with type goods recipient."
    I didn't enter a source of supply, the partner number 0000000081 is a BP that belongs to the user in who creates the SC, as I can see in ppoma_bbp.
    All org-units are matched up in TA BBP_BP_OM_INTEGRATE.
    In TA BP I checked the address of 0000000081. Everything is ok, country is entered. What I cannot find is Partner type 'Requester' or 'Goods Recipient' in TA BP.
    I never had this Problem befor and I customized a few SRM, EBP, BBP, B2B systems. Has anybody an idea?
    Thank you for your response.

    Hi BERTRAND,
    one of our users is also facing the same issue when she is trying to cancel one confirmation in srm 7. DO you have any idea how can i check the consistency of the user in SRM7 as BBP_CHECK_USERS are not working in my SRM7 system.

  • Will the lightning to 30 pin adapter work with the irig midi interface?

    will the lightning to 30 pin adapter work with the irig midi interface?  Want to record guitar with garage band on ipad mini. need quick/easy way to connect USB to ipad mini

    From both? Interesting. I like that though. I am looking for the controls to be on the iPhone rather than the stereo as it ***** finding songs this way. And yeah, $39.00 is a lot for this, and it is only roughly 8" long. Oh well, I will need it, so I will have to buy it. Thanks for the message back!

  • "Something went wrong with your request. Please try again later."?

    I ordered a Retina MacBook Pro on the 24th. Today, I went to check the status of the order and it redirected me to https://secure1.store.apple.com/ie/order/sorry saying:
    Something went wrong with your request. Please try again later.
    The only place I can get to is the account homepage. Anyone have any idea whats wrong?
    Cheers.

    Hi Fionnr,
    If you are in USA then you can call them their toll free number 1-800-275-2273 or otherwise if you have an Apple ID then you can raise a request on https://expresslane.apple.com/GetproductgroupList.action
    They will help you further. 

  • RFC Function module-With Only Request message

    Hi
    i need a RFC with only Request message and Response message is not required.
    please help me, how to create a RFC function module with out Response message, and it should contain only Request message.
    i have created RFC in this way:
    RFC doesn't contain neither import nor export parameters. and i have defined one table in TABLE tab which refers to a ztable created already.
    when i imported RFC into XI i came to know that RFC has both Request and Response messages, but i don't need Response message.
    Thanks in advance..help would be appreciated
    Regards,
    Rajesh

    Thankx Michal,
    I have written ZRFC this way:
    insert ZMM_AUTO_GR from INPUT_TABLE .
      if sy-subrc = 0.
        commit work.
      else.
       rollback work.
    im not using neither import nor export parameters..but using only tables parameters. but when imported in XI im getting same table  structure in both request an response.
    please suggest what changes required in above code to invoke my ZRFC in async way.
    you will not get any response in XI- what chages required in my code to dnt get .reponse in XI.
    appreciate your help.
    Regards,
    Rajesh.

  • Message struck in adapter engine with status Hold

    Hi,
    In intergaration engine all messages are processed, I have checked SMQ1, SMQ2 (no message is struck in queue)
    where as messages struck in adapter engine with status Hold, I have checked this in RWB. How to resolve this?
    Regards,
    Krishna

    Hello,
    Below is some information on how to resolve this type of issue:
    1 - In the RWB, expand the tray for "Configure Table Columns" - by clicking on a square at the right end of this heading.
    2 - Check the checkboxes for "Serialization Context" and "Sequence Number". These should then appear in the table columns as well.
    3 - Add the Serialization Context to the Extended Filter Criteria. Search the messages in status HOLD based on this new additional criteria.
    4 - Sort the messages in ascending order based on the Sequence no.
    5 - Check the predecessor message of the first message in status "HOLD"
    Based on the following status for this predecessor messages, the actions that can be taken for the HOLD messages are:
    a - Predecessor is in Failed State/System Error : Cancel/Resend the
    first message in status HOLD after this. Then the remaining messages
    can be cancelled/resent.
    b - Predecessor is in DLVD state(delivered state) : First Holding
    message can be resent/cancelled followed by the others.
    c - Predecessor is in NDLV(Non-Delivered Status) : Check why the
    predecessor message failed and correct the reason for the failure.
    Then resend the predecessor message and then cancel/resend the
    remaining HOLD messages. Alternatively, you can directly try
    resending this NDLV predecessor message and see if it goes. If it
    goes, then the remaining HOLD messages can be resent/cancelled.
    Another option could be to cancel this NDLV predecessor message so
    that it goes to FAILED state and then cancel/resend remaining HOLD
    messages.
    Regards,
    Sarah

  • Adapter Monitoring with CCMS

    Hi,
    is there anybody who already set up an adapter monitoring  with CCMS using the alert framework of Runtime Workbench ?
    Background:
    When using the existing MTE's in CCMS (J2EE Monitor Templates - All Systems - <SID> - J2EE Applications - SAP XI Adapter Engine) only rare monitoring information related to XI messages are posted.
    What I would like to see are information about the adapters provided in the logfiles of each adapter.
    For example as soon there's a permission problem for a directory in File Adapter an alert in CCMS should be raised.
    I already checked SAP notes 870232, 913858 and 824039.
    Any feedback appreciated.
    Cheers,
      Juergen

    Hi,
      You can configure the CCMS as per the following two blogs,
    Part 1: /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    Part 2: /people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii
    Configure the Alert Framework with the below Blog as reference,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Then forward the Alerts created in the CCMS to Alert Frame work, the required steps are given in the below help links.
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/567ddea69d3d4c93a6aedabd08899e/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/30/62e77b2f4865488a866d4103923a93/frameset.htm
    Then any alerts that gets generated in CCMS can be passed to the Alert Category kept configured in the Alert Framework.
    Hope this helps you

  • Does apples 30 pin male to female adapter work with iphone 4s to skydock

    does apples 30 pin male to female adapter, work with iphone 4s to skydock (xm radio car cradle/charger)?

    Howdy nanster23,
    If you have as yet been unable to use this 30pin to lightning bolt adapter, I would like to recommend the troubleshooting in the following article to help you get that squared away:
    If you need help with iPhone, iPad, or iPod touch accessories
    These sections in particular since you have already done a couple of them:
    Disconnect and inspect the accessory, then restart your device
    Disconnect the accessory and turn it off, if possible.
    Inspect the connection between the accessory and device and make sure that no debris or other damage is present.
    Restart your iOS device by turning it off, then back on. When the Home screen appears, reconnect the accessory.
    Restore iPhone, iPad, or iPod touch
    Restore your iOS device. You should rarely need to use this step with an accessory issue. If the issue only affects a third-party accessory, contact the manufacturer before restoring the device.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

Maybe you are looking for

  • Applets strarting a browser on client machine

    Hi, Can an applet start a new instance of a browser ? I think it can't and that's what the docs abt java security say too. But is there a way to do that ? Can they exec processes under any circumstances or by any means ? Will signing an applet make a

  • ITunes Match crashes during 3rd step when uploading songs to the iCloud

    Hello There, I have just one issue with iTunes Match which causes me to be slightly skeptical, although it is such an amazing way to listen to music ect. I have about 15000 songs and most of them were added on the iCloud, however only around 200 stil

  • Windows size / resolution when connecting via scvmm console

    Hi right... please see attached screenshot for my problem.. As you can see... the windows is the usual size, but the server VM it is displaying is not showing as it should.. something has gone wrong with the display settings.. The only resolution I'v

  • ME52N instead of ME53N

    Hello gurus, in transaction ME57 (Assign and Process Purchase Requisitions) there is a list of purchase requisitions. Now, when I double-click on a purchase requisition number, I get into transaction ME53N (Display Purchase Req.) displaying that purc

  • Decription/Text of value field

    Hi. I have a field of Data Dictionary and i want the text that describe the value of this field. But I don't know the text table and the name of field 'Description'. For example, -I have the field PA0001-PERSK -the user insert the value '03' -the pro