Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 75A361063A for ; Thu, 20 Jun 2013 19:43:50 +0000 (UTC) Received: (qmail 26164 invoked by uid 500); 20 Jun 2013 19:43:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 26125 invoked by uid 500); 20 Jun 2013 19:43:50 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 26117 invoked by uid 99); 20 Jun 2013 19:43:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 19:43:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 19:43:44 +0000 Received: by mail-la0-f46.google.com with SMTP id eg20so6033976lab.19 for ; Thu, 20 Jun 2013 12:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dKoqvqG1djYy3Oby5jaMDh+vQi7q1wvDSlGmNAsQDWU=; b=ETXG9hJ5vh04ISLAq6cxUxGWWEERX8c0lRsY0MmZ4MubADCCU0DCFP6QKRbRNjj2Xt WalpReOpbVtu7xyhMwUwsOlBOPAZELxCTfL3vveP+pnLRF8NvmmQB+kAX6rLA4FgayLq SXTs5K8YJ6QMBZsCU/rpsEePS2iOgzEzM8TIdYSwP8ukcVVc+4OiauiOxHfb2Mo6KH3m YHSp41Omy16rE+HN+l99rf6uGpOOqSqg8ULYzOoRfwU6gHo/J+EzhM2Xw95FuX0wfLhq f+gVAtL1rEhrfTrhPA0qlxbooZiIiM/a9IOtekoa3IGntd8J6xlJIWrE1tIFtH6XpRm1 Rcwg== MIME-Version: 1.0 X-Received: by 10.152.25.135 with SMTP id c7mr4385969lag.39.1371757403708; Thu, 20 Jun 2013 12:43:23 -0700 (PDT) Received: by 10.114.185.37 with HTTP; Thu, 20 Jun 2013 12:43:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Jun 2013 15:43:23 -0400 Message-ID: Subject: Re: ActiveMQ functionality to detect if certain messages are in a queue From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e0160c406c4226e04df9b28ff X-Virus-Checked: Checked by ClamAV on apache.org --089e0160c406c4226e04df9b28ff Content-Type: text/plain; charset=ISO-8859-1 Yep, you would use Camel to send the message to ActiveMQ, and also use Camel to read from the file system and kickoff whatever the merge process is. ActiveMQ would act as the "queue" in your scenario. Take a look at http://camel.apache.org/file2.html http://camel.apache.org/jms.html On Thu, Jun 20, 2013 at 3:37 PM, Sean Beck wrote: > So I am sending files over to a server and there are two files with the > same name but of a different "type" that are merged together on the server > side. As soon as a file is received I send a message containing the type > and the filename to a queue. Once both files are over on the server I want > to then start another program that combines the two. > > Does ActiveMQ support this kind of functionality? I don't really understand > Camel but I have been told that it might. If so could you point me in the > right direction? > > Thanks > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e0160c406c4226e04df9b28ff--