When rendering the MethodCallExpression of ExpressionClause in web console, I have to use the expressionType property of ExpressionClause, so a getExpressionType() method is required. Can I fix this bug or create a bug issue?
alloyer wrote: > > https://issues.apache.org/activemq/browse/CAMEL-1769 is created now. > > Claus Ibsen-2 wrote: >> >> On Mon, Jun 29, 2009 at 7:59 AM, alloyer<allo...@gmail.com> wrote: >>> >>> I do not have much knowledge of using JIRA, do you mean I create a >>> sub-task >>> to assign the ExpressionDefinition problem or a page to describe it? >> There is a button on JIRA - "Create new issue" >> >> This can be used to create a new issue where you can set it as a >> Apache Camel project, and as a bug. >> And then give it a summary about ExpressionDefinition not being able >> to render correctly in web console. >> >> Then we will not forget about it and can look into it in the near future. >> >> >>> >>> >>> Claus Ibsen-2 wrote: >>>> >>>> Hi >>>> >>>> Could you create a JIRA ticket about the ExpressionDefinition problem >>>> we >>>> have? >>>> >>>> >>>> On Sun, Jun 28, 2009 at 6:49 AM, alloyer<allo...@gmail.com> wrote: >>>>> >>>>> Now I got it now through "expressionNode.getExpression().toString()", >>>>> which >>>>> return a string "{delayTime}". Then I can get the subString in it. Are >>>>> there >>>>> some better methods? >>>>> >>>>> >>>>> alloyer wrote: >>>>>> >>>>>> Thanks, I found lots of test cases there. >>>>>> When I construct the groovy route definition from a RouteDefinition >>>>>> object, I have to process the processor definitions and its >>>>>> sub-classes? >>>>>> Most of them, like SendDefinition, OutputDefinition and >>>>>> ChoiceDefinition >>>>>> are easy to handle, but the ExpressionNode brought some problems. >>>>>> >>>>>> like the simplest one: DelayDefinition, when I want to generate the >>>>>> sentence "delay(xxxx)", I don't know where to get the xxxx delayTime. >>>>>> I >>>>>> have tried several ways: >>>>>> exp.getExpression() >>>>>> exp.getExpression().getExpression() >>>>>> exp.getExpression().getExpressionValue() >>>>>> but it always return a null value. >>>>>> Can you give me some suggestions? That's much better if you can tell >>>>>> a >>>>>> overview of the expression node structure because the bundle of >>>>>> concepts: >>>>>> Expression, Predicate, ExpressionDefinition..., let me a little >>>>>> confusing. >>>>>> >>>>>> >>>>>> Claus Ibsen-2 wrote: >>>>>>> >>>>>>> On Fri, Jun 26, 2009 at 6:22 PM, alloyer<allo...@gmail.com> wrote: >>>>>>>> >>>>>>>> Now groovy renderer has been implemented, but only tested by using >>>>>>>> some >>>>>>>> rotue >>>>>>>> with basic processorDefinitions now. >>>>>>>> For test all the processorDefinitions, I wonder where can I get >>>>>>>> some >>>>>>>> complex >>>>>>>> route definition test cases? >>>>>>> >>>>>>> We got complex unit tests in camel-core. So you can look in >>>>>>> camel-core/src/test/java >>>>>>> Usually they are in the processor package. >>>>>>> >>>>>>> You can try the RoutePerformanceTest to see how goes >>>>>>> >>>>>>> Or the ChoiceTest to see how it renders this. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> >>>>>>>> JIRA j...@apache.org wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> [ >>>>>>>>> https://issues.apache.org/activemq/browse/CAMEL-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >>>>>>>>> ] >>>>>>>>> >>>>>>>>> Jonathan Anstey reassigned CAMEL-1392: >>>>>>>>> -------------------------------------- >>>>>>>>> >>>>>>>>> Assignee: Xueqiang Mi >>>>>>>>> >>>>>>>>> Xueqiang is looking into this as part of the groovy web console >>>>>>>>> addition. >>>>>>>>> >>>>>>>>>> groovy renderer >>>>>>>>>> --------------- >>>>>>>>>> >>>>>>>>>> Key: CAMEL-1392 >>>>>>>>>> URL: >>>>>>>>>> https://issues.apache.org/activemq/browse/CAMEL-1392 >>>>>>>>>> Project: Apache Camel >>>>>>>>>> Issue Type: Sub-task >>>>>>>>>> Reporter: James Strachan >>>>>>>>>> Assignee: Xueqiang Mi >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> This message is automatically generated by JIRA. >>>>>>>>> - >>>>>>>>> You can reply to this email to add a comment to the issue online. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> View this message in context: >>>>>>>> http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp22220288p24223272.html >>>>>>>> Sent from the Camel Development mailing list archive at Nabble.com. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Claus Ibsen >>>>>>> Apache Camel Committer >>>>>>> >>>>>>> Open Source Integration: http://fusesource.com >>>>>>> Blog: http://davsclaus.blogspot.com/ >>>>>>> Twitter: http://twitter.com/davsclaus >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp22220288p24238426.html >>>>> Sent from the Camel Development mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Claus Ibsen >>>> Apache Camel Committer >>>> >>>> Open Source Integration: http://fusesource.com >>>> Blog: http://davsclaus.blogspot.com/ >>>> Twitter: http://twitter.com/davsclaus >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp22220288p24248732.html >>> Sent from the Camel Development mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Claus Ibsen >> Apache Camel Committer >> >> Open Source Integration: http://fusesource.com >> Blog: http://davsclaus.blogspot.com/ >> Twitter: http://twitter.com/davsclaus >> >> > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp22220288p24300990.html Sent from the Camel Development mailing list archive at Nabble.com.