Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 15730 invoked from network); 3 May 2010 21:41:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 21:41:33 -0000 Received: (qmail 64400 invoked by uid 500); 3 May 2010 21:41:32 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 64323 invoked by uid 500); 3 May 2010 21:41:32 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 64315 invoked by uid 99); 3 May 2010 21:41:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 21:41:31 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.akolkar@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 21:41:25 +0000 Received: by vws17 with SMTP id 17so103335vws.30 for ; Mon, 03 May 2010 14:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=a7N/9nr8ldapmVNqvqiCLvq1XopgHBfg1cCdmLmV6Fk=; b=rdSYUgZqhC6zOqpXLBzxBhM7Fl5V1piOluPefkY6CU1tS8BYflRtfwNkcMYSDDGPwG nVKI703iNPixGsOwhGhxUGgEJK9Lbr8+wFgKHQQIPcGzp1f5yI9O3ZsFZ+uV+uInvRTn KUmETJKQ2+sbLdX1Hi4aGItgTVWsvx6CH0Ebg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ogbt92BhPvGwdpFvfHaBsI3UZo5oRsE1WJQIu/WyN8RjiDWk9gk261QELPHWxvybOs vYyf8btWj5BzePustModBEBbE12APTc31oJFlJM6Xe5h3/LKOha8H6aC3QT9kgRg0LPK zHxC2F68tHn60xjIyYFjT6wA+FIDScQsz7pXk= MIME-Version: 1.0 Received: by 10.220.121.229 with SMTP id i37mr10434065vcr.237.1272922864182; Mon, 03 May 2010 14:41:04 -0700 (PDT) Received: by 10.220.77.161 with HTTP; Mon, 3 May 2010 14:41:04 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 May 2010 17:41:04 -0400 Message-ID: Subject: Re: [SCXML] use the send action. From: Rahul Akolkar To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 On Mon, May 3, 2010 at 9:12 AM, jocke eriksson wrote: > I have an application that uses many custom actions, but now I'm trying to > use the dispatchers Send method. > My problem is that when I use the executor to trigger events, the machine > ends up in an loop. > How could one get a reference to the derived events collection from the send > action, to add events that way. The EventDispatcher is meant for and , which are part of the external communications module. It does not provide ready access to the derived events collections, which is the internal state of the executing state machine. As you note above, that collection is available to custom actions. However, in v0.9, the semantics of skipping the 'target' and 'targettype' (latest WD: now known as 'type') attributes for a has the effect of adding the event to the internal events collection (latest WD: the type has to be '#_internal' instead of empty or missing). -Rahul --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org