[jboss-jira] [JBoss JIRA] Updated: (JBESB-437) Beans based configuration option for actions

Rex Sheridan (JIRA) jira-events at lists.jboss.org
Tue Feb 20 09:09:36 EST 2007


     [ http://jira.jboss.com/jira/browse/JBESB-437?page=all ]

Rex Sheridan updated JBESB-437:
-------------------------------

    Attachment: JbpmProcessAction.java

Basically your action class needs to have a public no-arg constructor and getter/setters.  I am attaching a sample action class we are using over at my company.  Here is what the XML configuration for it looks like.

<action name="startWorkflow" class="cam.esb.jbpm.JbpmProcessAction">
    <property name="contextVariable" value="message"></property>
    <property name="signal" value="begin"></property>
</action>

The attached action only has String properties but you aren't limited to that. 

> Beans based configuration option for actions
> --------------------------------------------
>
>                 Key: JBESB-437
>                 URL: http://jira.jboss.com/jira/browse/JBESB-437
>             Project: JBoss ESB
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>            Reporter: Rex Sheridan
>         Assigned To: Mark Little
>            Priority: Minor
>         Attachments: ActionBeanConfigurator.java, ActionProcessingPipeline.java, BeanConfigurator.java, FTPEprEditor.java, JbpmProcessAction.java, NotificationTarget.java, NotifyFTP.java
>
>
> This is a first pass at a beans based configuration approach for actions and notification targets.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list