camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: How to build an outgoing tcp connection gateway that consumes messages?
Date Mon, 17 Dec 2012 08:59:23 GMT
It could be this one: https://issues.apache.org/jira/browse/CAMEL-1077

I think only voting for it will not cause in a short time solution... ;-)
You may consider to work on this issue [1]? We love contributions with unit
tests... ;-)

[1] http://camel.apache.org/contributing.html

Best,
Christian

On Sun, Dec 16, 2012 at 7:46 PM, Thorsten Kunz <t.kunz@gmx.de> wrote:

> Thanks for the info Claus. This functionality would be a great help to my
> task at hand.
> Do you happen to have the issue ID so I can watch/vote for it?
>
> Thanks
>
> 2012/12/15 Claus Ibsen <claus.ibsen@gmail.com>
>
> > Hi
> >
> > We have some JIRA tickets about adding such functionality to
> > camel-mina2 and also camel-netty.
> > This would allow Camel to acts as a client and connect to a remote
> > server, and receive messages coming in to a route.
> >
> > Though we haven't had the time yet to implement such functionality.
> >
> >
> > On Fri, Dec 14, 2012 at 3:34 PM, Thorsten Kunz <t.kunz@gmx.de> wrote:
> > > Hi all,
> > >
> > > I have a problem that I need to solve and I would like to get a few
> ideas
> > > about the best options on how to do it since I am new to Camel.
> > >
> > > So I do need to implement a gateway to consume XML based messages from
> a
> > > server. Initially I thought that Netty Consumer mode sounds like it
> would
> > > match but it needs to be an outgoing tcp connection to the server. Here
> > is
> > > how it works:
> > >
> > > There is a blackbox style server that is located somewhere performing
> > some
> > > kind of business logic. This server is listening on tcp port XYZ. Now
> if
> > an
> > > authorized IP address is connecting as a client to this port the server
> > > immediately starts to dump XML debug messages to the connection. The
> > client
> > > doesn't need to do/send anything, just connect and then start to
> consume
> > > the XML messages.
> > >
> > > Now Camel is supposed to be the client consumer and I need to
> implement a
> > > gateway that connects to the server and read the XML messages from the
> > tcp
> > > session. The gateway should also auto-reconnect in case the blackbox
> > server
> > > was rebooted or crashed or whatever.
> > >
> > > Any good ideas about how to get this going? It would be very much
> > > appreciated!
> > >
> > > Thanks,
> > >
> > > Thorsten
> >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > Red Hat, Inc.
> > FuseSource is now part of Red Hat
> > Email: cibsen@redhat.com
> > Web: http://fusesource.com
> > Twitter: davsclaus
> > Blog: http://davsclaus.com
> > Author of Camel in Action: http://www.manning.com/ibsen
> >
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message