[
https://jira.jboss.org/jira/browse/JBIDE-5591?page=com.atlassian.jira.plu...
]
Brian Fitzpatrick commented on JBIDE-5591:
------------------------------------------
Just confirmed with Kevin Conner via IRC that we're doing the right thing by extending
AbstractActionPipelineProcessor:
(09:24:41 AM) bfitzpat: hey Kevin...
(09:24:58 AM) bfitzpat: for custom actions, should we be implementing
AbstractActionPipelineProcessor by default or something else from the ESB editor?
(09:33:26 AM) Kevin Conner: You can either extend that class or implement
ActionPipelineProcessor
(09:33:45 AM) bfitzpat: is there a benefit of one vs. the other? we're just trying to
jumpstart the user
(09:33:50 AM) Kevin Conner: Extending it is probably a good idea, as it has empty
implementations of everything except the process method
(09:34:02 AM) Kevin Conner: That's what they would normally use
(09:34:28 AM) bfitzpat: ok. so extend AbstractActionPipelineProcessor then, not
ActionPipelineProcessor (just confirming)
(09:35:05 AM) Kevin Conner: If you implement the interface then they need to specify 5
methods
(09:35:17 AM) Kevin Conner: If you subclass the abstract then just one
(09:35:22 AM) bfitzpat: I'm a firm believer in KISS. ;)
(09:35:27 AM) Kevin Conner: Sounds good :)
(09:35:39 AM) bfitzpat: ok. thanks Kevin. that's what we've done, just wanted to
confirm!
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
Priority: Critical
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