Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF6979F9E for ; Mon, 14 Nov 2011 03:53:04 +0000 (UTC) Received: (qmail 16714 invoked by uid 500); 14 Nov 2011 03:53:03 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 16678 invoked by uid 500); 14 Nov 2011 03:53:03 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 16670 invoked by uid 99); 14 Nov 2011 03:53:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 03:53:02 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 03:52:55 +0000 Received: by iakk32 with SMTP id k32so8914739iak.32 for ; Sun, 13 Nov 2011 19:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2UTEL6CsApY4nLZ2ATBYnO1ScwMZ6ujEpfs8+n+qaOw=; b=PFapnM9LXuaOihE9GzPoqFOB7fzTWAIBQDzj8V3D9qttg/rvK5oD+3twZWGgN8V1/3 GWfCG1e94u2b884DbIYZ0Qmsqqt9nfOh5nBaw0lnrmeIjPbvbUnD89KGLM/2i09ICA4P jLTKtJDuyEAiqR+T5f1mMWOQeqdMrSYx0WRaU= Received: by 10.50.12.227 with SMTP id b3mr21560034igc.24.1321242754764; Sun, 13 Nov 2011 19:52:34 -0800 (PST) Received: from [192.168.0.158] ([125.34.8.17]) by mx.google.com with ESMTPS id a2sm15764244igj.7.2011.11.13.19.52.32 (version=SSLv3 cipher=OTHER); Sun, 13 Nov 2011 19:52:33 -0800 (PST) Message-ID: <4EC0907E.8020007@gmail.com> Date: Mon, 14 Nov 2011 11:52:30 +0800 From: Willem Jiang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: Remotely pulling messages using CAMEL References: <1320673233624-4971149.post@n5.nabble.com> In-Reply-To: <1320673233624-4971149.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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