[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2024) Population of process method

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Mon Nov 9 13:53:05 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493841#action_12493841 ] 

Brian Fitzpatrick commented on JBIDE-2024:
------------------------------------------

The "action" element in an ESB configuration also has a "process" attribute. This attribute corresponds to the available methods of the action class. If no "process" attribute is specified, the action will call the "process" method. 

Not all actions have additional methods. But some, like org.jboss.soa.esb.actions.ContentBasedRouter have a couple.... process and split. 

<action process="split" name="ContentBasedRouter"
     class="org.jboss.soa.esb.actions.ContentBasedRouter">
     <property name="ruleSet" value="MyESBRules-XPath.drl"/>
     <property name="ruleLanguage" value="XPathLanguage.dsl"/>
     <property name="ruleReload" value="true"/>
     <property name="destinations">
          <route-to destination-name="express"
               service-category="ExpressShipping"
               service-name="ExpressShippingService"/>
          <route-to destination-name="normal"
               service-category="NormalShipping"
               service-name="NormalShippingService"/>
     </property>
</action>

At this point, I'm unsure whether you can select more than one process. (I have a note to confirm this with the ESB team.) 

However, similar to how JBIDE-2023 might work. Right now this is just a text field for the process attribute. If an action class has been specified, we'd like content assist to provide a list of available methods (probably using Java reflection APIs) on the class to select from. Possibly a Browse dialog would provide a list of the methods available as well. 


> Population of process method
> ----------------------------
>
>                 Key: JBIDE-2024
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2024
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: esb
>            Reporter: Tom Cunningham
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.0.CR1
>
>
> It would be nice, once the action class is set, if the user could choose the process method from the available methods within the action class (drop down? autocompletion?).     The process method box should probably also retain the ability for the user to type in the method name.

-- 
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