all right. I saw the deadLetter DSL have used "direct://start".
Will this enforcemnt be applied before long?
Claus Ibsen-2 wrote:
>
> On Thu, Jul 9, 2009 at 7:47 AM, alloyer wrote:
>>
>> Have the endpoint URIs been changed to "direct://start" from
>&
Have the endpoint URIs been changed to "direct://start" from "direct:start" ?
I haven't updated my camel-core source for several days. Maybe I have to
update it now.
JIRA j...@apache.org wrote:
>
> groovy renderer
> ---
>
> Key: CAMEL-1392
> URL:
eader(foo) == bar. Though
>> this
>> is
>> > not as nice looking for the tracing feature IMO. What do others think
>> of
>> > this change?
>>
>> Maybe a new method is needed that can output it more DSL like.
>>
>> The toString as
e DSL.
willem.jiang wrote:
>
> Hi,
>
> xxxDefinition classes has the toString() method, which is useful for
> tracing the message.
>
> I don't know if it can help your Groovy rendering.
>
> Willem
>
> alloyer wrote:
>> groovyRenderer now need
uses a predicate as parameter, and it also can
use a xpath or other expression as its parameter, so in the filter
processing part, I have to judge several conditions:
{code}
if (expression.getPredicate() != null) {
PredicateRenderer.renderPredicate(buffer, expression.getPredicate());
} else if (expr
it has a runtime.
>>
>> Maybe you need a getLoadBalancer() without a parameter. But try with
>> getLoadBalancer(null) in the class LoadBalancerDefinition as it should
>> have been created. Notice its the load balancer definition with R that
>> can return the specific ty
After some discuss with Janstey, I know the web editor is working for
changing the existing route, not for router development. The duty of
creating bean may be dropped on groovy editor.
alloyer wrote:
>
> all right. I am going to create a page to list which DSL have been
> supported t
ntent Based Router (choice) is top priority.
>
>
>
> On Mon, Jul 6, 2009 at 1:05 PM, alloyer wrote:
>>
>> When renderring
>> loadBalance().failover(IOException.class)
>> resequence(body())
>> ,need a getExceptions() for FailOverLoadBalancer and a g
There are one problem to define the assertions in test cases since sometimes
we are not sure of an input sentence. For example:
1)"to("mock:a","mock:b") and "to("mock:a").to("mock:b") have the same route
definition
2) Sometimes we can't use a ".end()" for the choice sentence. But when
renderring
When renderring
loadBalance().failover(IOException.class)
resequence(body())
,need a getExceptions() for FailOverLoadBalancer and a getExceptionList()
for ResequenceDefinition.
JIRA j...@apache.org wrote:
>
> groovy renderer
> ---
>
> Key: CAMEL-1392
>
Balancer() without a parameter. But try with
>> getLoadBalancer(null) in the class LoadBalancerDefinition as it should
>> have been created. Notice its the load balancer definition with R that
>> can return the specific type.
>>
>>
>>
>> On Sat, Jul 4, 200
ck:y", "mock:z")
Claus Ibsen-2 wrote:
>
> On Sat, Jul 4, 2009 at 8:16 AM, alloyer wrote:
>>
>> Grabbing name from dataFormat type works fine.
>> But when I use it on loadBalancer type, it throws a null pointer
>> exception.
>>
>>
>&
Grabbing name from dataFormat type works fine.
But when I use it on loadBalancer type, it throws a null pointer exception.
loadBalanceDefinition.getLoadBalancerType().getClass().getAnnotation(XmlRootElement.class)
throws the exception.
JIRA j...@apache.org wrote:
>
>
> [
> https://issues
oho, I didn't find such a bug unexpectedly. It is caused I uses the same
camel context for every test, and just get the first route definition every
time without clean up the previous route definitions. As a result, we always
get the route for the first test case.
JIRA j...@apache.org wrote:
>
When rendering the some expression, like 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?
JIRA j...@apache.org wrote:
>
> groovy ren
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
oh...it seems i used it uncorrectly before. the checkstyle pluging works well
on every unproper formattings.
:-D
alloyer wrote:
>
> Yes, the checkstyle plugin provides most of the proper code style.
> But there are some ill-suited code checkstyle plugin can not detect, like
> this,
eclipse:eclipse -Psetup.eclipse
> * You will find the mvn create a wrokspace directory in the parent
> directory of the camel trunk directory.
> Open the eclipse and use the wrokspace, then import the projects
> from the camel trunk.
>
> In this way you could see if the code is
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 wrote:
>>
>> I do not have much knowledge of using JIRA, do you mean I create a
>> sub-task
>> to assign the ExpressionDefinition
n Sun, Jun 28, 2009 at 6:49 AM, alloyer 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?
>&
Hi, can anyone tell me how to add option -Psourcecheck when creating a patch?
My previous patch have some style problem and jonstey tell me to do source
check to ensure proper formatting when building the patch, but I can not
find how to do it. I am using TortoiseSVN on windows XP.
--
View this
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 g
ecause 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 wrote:
>>
>> Now groovy renderer has been implemented, but only tested by using some
>> rotue
>>
When I remove a route through "camelContext.removeRouteDefinition(id)"
method, the route still do the message delivery sometimes. Is it caused by
the second route you mentioned as EventDrivenConsumerRoute?
Claus Ibsen-2 wrote:
>
> On Fri, Jun 26, 2009 at 10:57 AM, alloyer wr
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?
Thanks
JIRA j...@apache.org wrote:
>
>
> [
> https://issues.apache.
I see RouteDefinition uses List and List
as inputs and outputs to maintain the message endpoints. It seems a route
can handle several message flows, like:
from("direct:a").to("mock:results")
from("direct:b").to("mock:results")
But in my test case, when I set a route configuration whi
.
>
> Something is wrong in the current Camel snapshot repository, the error
> may caused by the out of date snapshot artifacts.
>
> Willem
>
> alloyer wrote:
>> I tried "mvn clean install", but the same exception occured.
>> It notice the org.apache.camel
t of the camel src ?
>
> Willem
>
> alloyer wrote:
>> Maven version: 2.0.9
>> Java version: 1.5.0_12
>> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>>
>> That's the versions of JDK and Maven.
&
e with latest trunk code.
>
> Did you build it from root directory?
>
> Can you show me which version of JDK and maven are you using?
>
> Willem
>
> alloyer wrote:
>> When I build camel-spring module, I encountered an error and have no idea
>> how
>
When I build camel-spring module, I encountered an error and have no idea how
to fix it.
F:\camel\trunk\components\camel-spring\target\schema-src\org\apache\camel\spring\CamelBeanPostProcessor.java:34:
软件包
org.apache.camel.spring.util 不存在
import org.apache.camel.spring.util.ReflectionUtils;
hat when running the web console with mvn jetty:run (as shown in the
> wiki) this is invoked automatically.
>
> On Sat, Jun 6, 2009 at 12:12 AM, alloyer wrote:
>
>>
>> When I deploy the camel-web app by running the org.apache.camel.web.Main
>> class , it throws an excep
Hi,Christian
I agree with you and I think the builder and model package have a little
inconsistency.
When I implement the groovy route editor today, I found that:
1. In Xml schema editing mode, a RouteDefinition instance will be
constructed to receive the web console content.
2. But in Groov
When I deploy the camel-web app by running the org.apache.camel.web.Main
class , it throws an exception:
java.lang.RuntimeException: Could not load WadlGeneratorConfiguration, check
the configuration of com.sun.jersey.config.property.WadlGeneratorConfig
...
Caused by: java.lang.RuntimeException:
nd
> modify
>
>
>
>
> Xueqiang, did you build from the trunk?
>
> On Fri, Jun 5, 2009 at 5:25 AM, alloyer wrote:
>
>>
>> Thanks to James.That's much helpful for my previous work, and I have read
>> most of the Jersey User Guide page.
ng:
James.Strachan wrote:
>
> Hi Xueqiang!
>
> 2009/6/3 alloyer :
>>
>> Hi All,
>> I am Xueqiang Mi and alloyer is my ID on mailing list and IRC. I am a
>> student of China and major in middleware technologies.
>> I have been starting my work for about one w
Hi All,
I am Xueqiang Mi and alloyer is my ID on mailing list and IRC. I am a
student of China and major in middleware technologies.
I have been starting my work for about one week. Now I am reading the XML
rotue editor code and try to learn a overview of the implementation of
camel-web component
36 matches
Mail list logo