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). The onboard computer  are
proprietary boxes with a processor probably running on Linux.

All the event logs, status messages etc. are on the computer. I will need to
connect to the Digi (cell modem) device by sending the IP address and the
port. For example, I will need to send a command "connect me to  this IP at
this port.
The commands/messages that I send to the Digi device (cell modem) will be
relayed to the computer and responses from the computer will be sent by the
Digi (cell modem) to my Java program which will put them in a queue.

I need to talk to the Digi device. Let's say there are 1,000 truck. I will
perhaps need to store 1,000 IP and port #s in the database. My java program
will pull the IP and port info from the database and send 1,000 command to
1,000 unique trucks.

Let's say, we need to downlaod event logs/status messages from 1,000 truck
every 15 minutes. So I will need to send a command to the Digi device (cell
modem) everything 15 minutes for all 1,000 trucks.

I would like to know if CAMEL can be used to poll and remotely download
messages from TRUCKS to our back office system? If answer is yes, will I
still need to use Digi Device or can CAMEL be directly connected to the
onboard box (computer) using the IP and the port#?

I don't know if the cell modem can give you the static IP address.
I think it could be more easy to let the device report the data back the server instead of letting the server pull the data from the device.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p4971149.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to