Hi Pani,
I did point the AMQP and HTTP protocol bridging samples to get an idea for
you to start implementing your use-case , not trying to switch you to AMQP
:).
We don't have a sample that demonstrate the usage of TCP transport but you
can find information from the TCP transport guide [1], sample 380
demonstrate on writing custom mediators using Java.
Regards
Asanka

[1] http://people.apache.org/~veithen/transport/jms.html


On Thu, Dec 10, 2009 at 3:41 PM, Phani Arava <[email protected]> wrote:

> Asanka,
>
> Thanks  a lot for the reply. Well I have gone through the examples in the
> morning. Iam getting a fair idea on the same, but being an ignorant person
> on AMQP and from what i have read on the same AMQP is a wire protocol
> standard. I cannot be using AMQP/JMS because my provider is not complicant
> for the same. (Pardon my ignorance if any...)
>
> Iam looking for a good example on TCP transport, with maybe bytebuffer /
> POJO example, it will be easier for java novices like me.
>
> Regards
> Phani
>
> On Thu, Dec 10, 2009 at 3:15 PM, Asanka Abeysinghe <[email protected]>
> wrote:
>
> > Hi Phani,
> > If I read you correctly you are need to send a FIX message coming from a
> > FIX
> > endpoint to a endpoint that does not support FIX and accept messages
> > through
> > row TCP sockets.
> > Yes, you can do this by making a proxy service accept messages from
> > FIX-{version} by making the incoming transport as FIX and configure the
> > proxy service to have TCP transport as outgoing.
> > Synapse converts the FIX message into a XML infoset internally so you
> might
> > have to do transformation to the XML payload in the case of your non FIX
> > endpoint accept messages on XML format. If your non FIX endpoint is
> > requesting a non XML format then you have to do more work on writing a
> > mediator/message formatter to do the formatting.
> > There are two samples 259 (FIX to HTTP), 260 (FIX to AMQP/JMS) in the
> > synapse trunk and 1.3 branch (that you have to build or take from a
> nightly
> > build), those samples will explain on how to implement the pattern
> protocol
> > bridging with FIX.
> > Regards
> > Asanka
> >
> > On Thu, Dec 10, 2009 at 8:29 AM, Phani Arava <[email protected]> wrote:
> >
> > > Hi All,
> > >
> > > Iam pretty new to synapse (not exactly very good with Java..) trying
> out
> > my
> > > hands with synapse. Till now succesful in running the sample_257.
> > >
> > > Actually trying to connect a non-FIX exchange with synapse. The
> protocol
> > > defined by this exchange is given to us (Plain old TCP sockets) . Can
> we
> > > define an adapter for my app to connect to Synapse (for FIX) and
> synapse
> > > connects to the exchange with the message protocol.
> > >
> > > How to go about this whole project. What more of java whould i be
> > exploring
> > > before getting into synapse configurations ?
> > >
> > > Regards
> > > Phani
> > >
> >
> >
> >
> > --
> > Asanka Abeysinghe
> > Architect - WSO2, Inc.
> > m: +94 77 7340064      p: +94 11 2688451/3
> > e: [email protected] w: http://www.wso2.com
> > b: http://www.asankama.com
> >
>



-- 
Asanka Abeysinghe
Architect - WSO2, Inc.
m: +94 77 7340064      p: +94 11 2688451/3
e: [email protected] w: http://www.wso2.com
b: http://www.asankama.com

Reply via email to