WCFToWCFDirect is indeed a classic Hello World program in the WCF context, but it mainly shows off WCF and hides the AMQP message details.
The bigger downside, is that if you are sending to another party, they must also be on a Windows box with a similarly configured channel stack to correctly parse the binary encoded Soap content to manage the "Action" field and provide the necessary XML InfoSet access to the content. This is how the AMQP message is be transformed into a function call with a specific signature. I would propose to write a Hello World program that when compared with the other clients, provides the same wire representation and could be easily used in an interop demo. Cliff On Fri, Apr 16, 2010 at 8:32 AM, Chuck Rolke <[email protected]> wrote: > As a recent study of WCF, I suggest that the WCFToWCFDirect > (wcf/samples/channel) project is an excellent example of using AMQP under > WCF. It has slightly heavier weight than a normal HelloWorld but it clearly > demonstrates normal WCF usage with the Apache Qpid Channel behind the scenes. > > I'm interested to see what Cliff could do to top that! > > -Chuck > > > ----- "Jonathan Robie" <[email protected]> wrote: > >> From: "Jonathan Robie" <[email protected]> >> To: [email protected] >> Sent: Friday, April 16, 2010 10:40:54 AM GMT -05:00 US/Canada Eastern >> Subject: Re: [c++]: hello_world.cpp >> >> Thanks, Cliff! >> >> Jonathan >> >> On 04/16/2010 10:27 AM, Cliff Jansen wrote: >> > I volunteer for the WCF version. I'll get to it as soon as I get >> > QPID-2501 out of the way. I also plan to do some work on the WCF >> > documentation side as soon as I can as well. >> > >> > I am going to be on vacation next week so I will try to squeeze in >> what I can. >> > >> > Cliff >> > >> > On Fri, Apr 16, 2010 at 6:27 AM, Jonathan Robie >> > <[email protected]> wrote: >> > >> >> Thanks, Gordon - this is definitely an improvement. I applied the >> patch, >> >> committed it, and used this in the tutorial. I also created a >> Python >> >> example and check it in. >> >> >> >> I'll also do this for Java (pestering Rajith as needed). >> >> >> >> Anyone want to do a "Hello World" program for WCF? I'm not really >> set up in >> >> that environment. >> >> >> >> Jonathan >> >> >> >> >> --------------------------------------------------------------------- >> >> Apache Qpid - AMQP Messaging Implementation >> >> Project: http://qpid.apache.org >> >> Use/Interact: mailto:[email protected] >> >> >> >> >> >> >> > >> --------------------------------------------------------------------- >> > Apache Qpid - AMQP Messaging Implementation >> > Project: http://qpid.apache.org >> > Use/Interact: mailto:[email protected] >> > >> > >> > >> >> >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
