Re: Remotely pulling messages using CAMEL

2011-11-21 Thread newbiee
Hadrian; I am executing each route one by one. Here is what I have done: First route: It runs successfully and I am able to see all the host:IP in the digiQueue Nex I add the second route: ${body}

Re: Remotely pulling messages using CAMEL

2011-11-21 Thread Hadrian Zbarcea
Sure. Hadrian On 11/21/2011 01:03 PM, newbiee wrote: Hadrian: Thank you for putting the code together. I feel that I am gaining a lot from your code as I go through it again and again. Your code shows how to establish TCP connection. Can you also give few hints about how to send commands to th

Re: Remotely pulling messages using CAMEL

2011-11-21 Thread newbiee
Hadrian: Thank you for putting the code together. I feel that I am gaining a lot from your code as I go through it again and again. Your code shows how to establish TCP connection. Can you also give few hints about how to send commands to the Digi and get the response back. I want to know, if

Re: Remotely pulling messages using CAMEL

2011-11-18 Thread newbiee
Hadrian --- Thank you very much for all the hard work you have done. I am going through the code and will be posting my questions later today. -- View this message in context: http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p5004013.html Sent from the Camel

Re: Remotely pulling messages using CAMEL

2011-11-17 Thread Hadrian Zbarcea
Hi, Please find a fairly complete example in my github repo [1]. To run it, just clone it and run mvn:install. You can open it in your IDE of choice and play with it. I did not yet explain in the readme why it is implemented that way and I intend to do it in the next couple of days, but the c

Re: Remotely pulling messages using CAMEL

2011-11-16 Thread newbiee
Hadrian Thank you very much, it is indeed very nice of you. I am vehemently waiting for the example. -- View this message in context: http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p4997180.html Sent from the Camel - Users mailing list archive at Nabbl

Re: Remotely pulling messages using CAMEL

2011-11-15 Thread Hadrian Zbarcea
I am putting together an example for you, I should be done tomorrow. There is enough information now to point you in the right direction (hopefully). Hadrian On 11/15/2011 09:40 AM, newbiee wrote: Thank you for the response. Below are some more clarifications and my questions: "Good, dynam

Re: Remotely pulling messages using CAMEL

2011-11-15 Thread newbiee
Thank you for the response. Below are some more clarifications and my questions: "Good, dynamic addresses are ok, DNS is ok. However, you need to know the host names then, right? How do you know those? " In the digi Connect ware manager we have both IP address and the host name. We'll send the

Re: Remotely pulling messages using CAMEL

2011-11-14 Thread Hadrian Zbarcea
Ok, so we made a bit of progress. More answers inline. Hadrian On 11/14/2011 09:51 PM, newbiee wrote: Thank you very much to all for your time and valuable feedback. Let me answer the questions that have been asked: Q. does the server know in advance the IP address of each digi device? Are th

Re: Remotely pulling messages using CAMEL

2011-11-14 Thread newbiee
Thank you very much to all for your time and valuable feedback. Let me answer the questions that have been asked: Q. does the server know in advance the IP address of each digi device? Are they static? A. IP addresses are dynamic. Digi device has Connect ware manager through which the IP address

Re: Remotely pulling messages using CAMEL

2011-11-14 Thread Hadrian Zbarcea
From all this conversation there seems to be a bit of disconnect between the questions and the answers :). It looks to me that you are making some assumptions about how camel is used and the answers don't address that. The reason is that using Camel is much easier than I believe you assume. H

Re: Remotely pulling messages using CAMEL

2011-11-14 Thread Raúl Kripalani
Not sure I have followed the whole scenario through, but the camel-mina and camel-netty components can help you interface with external systems via TCP. These components allow Camel to participate either as a consumer or as a producer of data. Whether the server will pull the data from the device,

Re: Remotely pulling messages using CAMEL

2011-11-14 Thread newbiee
I will be opening a socket connection with digi device some thing like this: Socket clientSocket = new Socket(IP address, port#); my application is going to act as a client sending commands to the digi device. Digi device in return will send my application a message that my application will put i

Re: Remotely pulling messages using CAMEL

2011-11-13 Thread Willem Jiang
On 11/7/11 9:40 PM, newbiee wrote: I want to write a program in JAVA that will connect to a remote assets let's say TRUCKS. (The big trucks that carry cargo) Trucks have a digi device (cell modem) installed which is connected to the onboard computer (via a serial port, each truck has a computer)

Re: Remotely pulling messages using CAMEL

2011-11-13 Thread Taariq Levack
Hi Change the host in the URL of the server from localhost to 0.0.0.0, ie mina:tcp://0.0.0.0:?textline=true&sync=true Then change the client to connect to the actual IP, if it connects to 0.0.0.0, it will of course connect to localhost. Taariq On Mon, Nov 14, 2011 at 3:38 AM, newbiee wrot

Re: Remotely pulling messages using CAMEL

2011-11-13 Thread newbiee
Thank you all for your feedback. I have tried an example similar to the one given at the following site: http://marcelojabali.blogspot.com/2011/09/using-apache-mina-in-camel.html But this works only if the client and server are on the same machines i.e. local host. In my case, I will have to use

Re: Remotely pulling messages using CAMEL

2011-11-13 Thread Jean-Baptiste Onofré
Hi, in fact, Netty and Mina are very close ;) I will not explain all the story, but, to be short, Netty has been created by a guy involved on Mina. The basic concepts are exactly the same. If Mina was in standby during several weeks, now, some people start to work again on it (for instance, I

Re: Remotely pulling messages using CAMEL

2011-11-08 Thread newbiee
Thank you for the reppy. I can use any of the following protocols: XMPP (Jabber) HTTPS SSL SFTP Secure MQ But most probably I would prefer to use HTTPS. The thing is that the digi device is connected to the computer on board truck via a serial port so all the communication reaching at digi devic

Re: Remotely pulling messages using CAMEL

2011-11-08 Thread Jesús Castillo
Camel can help you out. Take a look at the MINA and netty component in Camel for low level TCP/IP communication. http://camel.apache.org/netty.html http://camel.apache.org/mina.html Rgds, Jesus.

Re: Remotely pulling messages using CAMEL

2011-11-08 Thread Ioannis Canellos
I think that camel can be a good fit inside your use case. I would still need a few more details, in order to respond to all your questions. What is the communication protocol between your application and the truck (you just mention that you use a host & port but what about protocol? Is it http? i