Mehdi, I hate to sound like a salesman, but AMQP does provide the interoperability and cross language support you are looking for. I know you are looking for something based on STOMP, but AMQP is a protocol that will have a lot more support in the future. So it's worth giving it some thought. (There are other goodies that come with AMQP as well..)
Apache Qpid does have a JMS implementation over AMQP.So you can use AMQP with synapse as we have a JMS transport. I have also started writing a native AMQP transport for Synapse as well. The flip side is we only have a c++ client. So u may need to figure out how to use that within "c" code. (I am no expert, but I heard u can do that, but has portability issues). If u have a "c" client then you could get a PHP binding so you can have a PHP client too. Regards, Rajith Attapattu Red Hat blog: http://rajith.2rlabs.com/ On Dec 29, 2007 4:46 PM, mehdi ait oufkir <[EMAIL PROTECTED]> wrote: > Paul, > > I know I can do that. But I don't want to have my server to talk directly > to > activemq. > So I would have, On the client side something like. > > Client<----STOMP---->Synapse<---JMS--->Activemq > The client is in php. > > On the server side: > Activemq<----JMS---->Synapse<----STOMP--->Server. > My server is in C. > > I don't know if it's the best way to do it. But I don't want to have > neither > my client, nor my server coupled to activemq. > > My goal is to enable asynchronous web-services thru a queue mechanism, but > to my knowledge PHP and C can't talk JMS. > > Let me know if I'm going the wrong way. > > Concerning the build of synapse. Do you have some documentation somewhere > or > can I build it from eclipse. I have heard about maven but I'm not familiar > at all with it, I know more about ant. > > Mehdi. > > > On 12/29/07 1:24 AM, "Paul Fremantle" <[EMAIL PROTECTED]> wrote: > > > Mehdi > > > > Synapse works "out of the box" with ActiveMQ. Would it be enough > > simply to use ActiveMQ and enable the STOMP protocol with that? > > > > i.e. Synapse->ActiveMQ->STOMP > > > > Paul > > > > On Dec 29, 2007 2:11 AM, Asankha C. Perera <[EMAIL PROTECTED]> wrote: > >> > >> Hi Mehdi > >> > >> The transports used by Synapse are actually Axis2 transports.. Thus > the > >> interfaces you need to implement are actually in Axis2.. however, since > >> Synapse uses more transports typically than Axis2, the Synapse code > base > >> contains a module "tranports" that contains the code for the VFS, JMS > and > >> NHTTP transports. However, the NHTTP transport is quite different and a > bit > >> complex - but you should be able to look at the JMS transport code to > get a > >> better understanding. Start from the JMSListener and JMSSender and also > look > >> at the AbstractTransportSender and the AbstractTransportListener that > will > >> make your implementation simpler > >> > >> asankha > >> > >> > >> > >> mehdi ait oufkir wrote: > >> Hi, > >> > >> I'm evaluating synapse for a project and one of the requirement would > be to > >> support the STOMP transport protocol. I know synapse already support by > >> default http,https, jms, I'd like to know what it would take to support > >> another protocol. How extensible is synapse? > >> > >> If this is possible, may be you can guide me with some general dev > >> documentation, and build documentation. I already checked out the code > into > >> eclipse but I had hard to understand the structure of the code. > >> > >> Thanks, > >> Mehdi Ait Oufkir > > > > > > Mehdi Ait Oufkir > Webapp lead > O: 408.879.9118 x222 | F: 408.879.9117 > > yousendit > 1919 S. Bascom Ave, 3rd Floor | Campbell | CA 95008 > Send, Receive, Track. . . www.YouSendIt.com <http://www.yousendit.com/> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >