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 DAD38BE80 for ; Tue, 10 Jan 2012 23:37:27 +0000 (UTC) Received: (qmail 49961 invoked by uid 500); 10 Jan 2012 23:37:27 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 49887 invoked by uid 500); 10 Jan 2012 23:37:26 -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 49879 invoked by uid 99); 10 Jan 2012 23:37:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 23:37:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [178.33.52.170] (HELO mail.innovafarm.com) (178.33.52.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 23:37:18 +0000 Received: from ip-62-143-57-34.unitymediagroup.de ([62.143.57.34] helo=[172.20.2.59]) by mail.innovafarm.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RklFR-0004xm-DV for users@camel.apache.org; Wed, 11 Jan 2012 00:36:59 +0100 From: =?iso-8859-2?Q?=A3ukasz_Dywicki?= Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Subject: More complicated scenario for camel-bam Date: Wed, 11 Jan 2012 00:36:49 +0100 Message-Id: To: users@camel.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Hey everyone, I tried yo use camel-bam and it works for very basic example shown in = documentation. It works well for correlating the files without any = middle processing steps. The process I try to monitor looks following - receive incoming JMS message - split - multicast (queue1, queue2) So I've build a following configuration for the process: ValueBuilder correlation =3D header("JMSCorrelationID"); ActivityBuilder incoming =3D = activity("activemq:incoming").correlate(correlation).name("incoming"); ActivityBuilder sys1 =3D = activity("amq2:queue1").correlate(correlation).name("system1"); ActivityBuilder sys2 =3D = activity("amq2:queue2").correlate(correlation).name("system2"); sys1.starts().after(incoming.starts()); sys2.starts().after(incoming.starts()); But after receiving messages and initializing a process instance nothing = happens. Er it happens, the activity is created. I can not reuse a = incoming.getEndpoint to create an from statement and process message. = Multiple consumers on same destination are not allowed. Issues I've discovered: - Lack of support for parallel activities. - No support for processing received message. Usually a incoming message = is only a entry point for a process. - No support for a custom process names. Not everyone are happy with = Proces-N name. A ProcessBuilder extensions can't change a naming schema. - Activity definition is not put into the database as long as it is not = called by flow. Process is created and the activities are known, but = they're not persisted before processing. So whole definitions are = useless if we would like display process definitions somewhere else. - Hard coded dependency to JPA, can't be replaced by alternative way of = storing process definitions eg like in IdempotentRepository. These issues makes a camel-bam useless in my case. Should I use an = alternative tool like activiti-camel integration? It's fine but I don't = need whole BPMN, diagraming. I want to track a flow between systems in = an easy way, there is no human tasks, only service calls and camel = logic. =A3ukasz Dywicki -- Code-House Krasiczy=F1ska 3/80 03-379 Warszawa