-
Notifications
You must be signed in to change notification settings - Fork 79
Description
I am currently using ExecuteRequest to send an AreYouThere request from one client (appA) to another (appB). AppA starts first and it's AreYouThere requests fail for no processor found. appB starts up and it's AreYouThere requests work fine.
Put in some code in AppA to detect a startup message from appB, to allow appA close and reopen it's endpoint. appA works but appB then starts failing AreYouThere requests. And so one.....
What's the best approach in CFA where you have two applications sending requests to one another.
I open the endpoint on both appA and appB with:
theEndpoint.Open(myHandle, receiveUri);
Both apps running locally, using the following exchange and queue configs:
"MyHandle": "PCBA.Line1.DEK",
"BrokerURL": "amqp://127.0.0.1:5672",
"TargetHandle": "MES.App",
"Queue": "/queue/queueA",
"Exchange": "/exchange/exchangeA/routingKeyA",
"ReceiveURL": "amqp://127.0.0.1:5682"
I must be misssing something here. The rabbitmq binding in exchangeA is setup correctly. Any help greatly appreciated.
Lance