[
https://jira.jboss.org/jira/browse/JBIDE-2023?page=com.atlassian.jira.plu...
]
Brian Fitzpatrick commented on JBIDE-2023:
------------------------------------------
The "action" XML element in the ESB schema has a "class" attribute.
For example, this ESB configuration has three actions:
<actions mep="OneWay">
<action name="action1"
class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction"
process="displayMessage"
/>
<action name="action2"
class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="printfull" value="true"/>
</action>
<!-- The next action is for Continuous Integration testing -->
<action name="testStore"
class="org.jboss.soa.esb.actions.TestMessageStore"/>
</actions>
All of these actions are predefined by ESB -
org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction,
org.jboss.soa.esb.actions.SystemPrintln, and org.jboss.soa.esb.actions.TestMessageStore
In the UI, when the user is entering the class name for this attribute, right now it's
just a text field. We'd like to add content assist to the text field to help the user
find the right class if they know a portion of the full package/name. And we'd like to
add a Browse button that opens a dialog something similar to what John Graham mentioned in
an earlier comment for his ESB Action View. The Browse dialog should allow the user to
browse through available packages of predefined and user-defined actions in the classpath
and select one to populate the class name field.
The user would still need to know what properties to populate for the action, but at least
we can tell them what's available so they can look it up in the documentation and
configure the properties accordingly.
Population of Action Class
--------------------------
Key: JBIDE-2023
URL:
https://jira.jboss.org/jira/browse/JBIDE-2023
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: esb
Affects Versions: 3.1.0.M4
Environment: Mac OS X, nightly 04/04 JBoss Tools build, Europa JEE eclipse build
Reporter: Tom Cunningham
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.1.0.CR1
It would be nice if the ESB editor could somehow populate an action class drop down or do
autocompletion of the class name, while at the same time retaining the ability for the
user to type in their action class name. Action classes in the drop down should
probably be restricted to classes within project which extend AbstractActionLifecycle or
AbstractActionPipelineProcessor and the org.jboss.soa.esb.actions package classes.
--
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