[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5591) Request option for creating new ESB actions easily
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu Jan 21 10:41:20 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12507537#action_12507537 ]
Viacheslav Kabanovich commented on JBIDE-5591:
----------------------------------------------
I have found that all out-of-box actions extend AbstractActionPipelineProcessor so that I think it is more useful to suggest that as default superclass than AbstractActionLifecycle and to generate this code:
package com.sample.action;
import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.actions.ActionProcessingException;
import org.jboss.soa.esb.message.Message;
public class MyAction extends AbstractActionPipelineProcessor {
protected ConfigTree _config;
public MyAction(ConfigTree config) {
_config = config;
}
@Override
public Message process(Message message) throws ActionProcessingException {
//ADD CUSTOM ACTION CODE HERE
return message;
}
}
> Request option for creating new ESB actions easily
> --------------------------------------------------
>
> Key: JBIDE-5591
> URL: https://jira.jboss.org/jira/browse/JBIDE-5591
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: esb
> Affects Versions: 3.1.0.M4
> Environment: JBDS 3.0 M4
> Reporter: Aaron Pestel
> Assignee: Viacheslav Kabanovich
> Fix For: 3.1.0.CR2
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> Requesting option to create ESB action. Without this, I always have to go to the quickstarts and copy a default action because I can't remember what interfaces each of the actions have to extend, what methods they have to implement, and what the constructor has to be.
> Would be nice to right-click on source dir in jBPM and ESB project (or from File menu) and select:
> New | Other | ESB | ESB Action
> I think it would save new users even more time, because they may not know to go look in the quickstarts to find a template action to copy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list