Hello
I met a problem when testing the restlet service, I config my restlet
service by adding the following snippet in web.xml:
RestletServlet
org.restlet.ext.spring.SpringServerServlet
org.restlet.component
RestletComponent
Must I startup a web container
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-test-the-restlet-service-without-startup-web-containner-manually-tp5742339p5742343.html
Sent from the Camel - Users mailing list archive at Nabble.com.
How to get the real node count of a router, I used the tracer function and
get the number of nodes had been traced via
TracedRouteNodes traced = exchange.getUnitOfWork().getTracedRouteNodes();
List list = traced.getNodes();
and the size of list is the node count traced. So if I can get the total
co
I made the below code to set priority before sending message to activemq:
.setHeader("JMSPriority", constant(9)).wireTap("activemq:queueName");
but the message's priority in amq broker is 4, not 9.
How to set priority for activemq outbound when routing?
--
View this message in context:
http://
Thanks sincerely, it works.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-set-priority-for-activemq-outbound-when-routing-tp5742691p5742699.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I made the properties defined as below
classpath:esb-config.properties
--username,password etc
classpath:esb-router.properties --router
inbound url
and use {{key}} to inject the property value to
In a property file, I config the username and password, besides the endpoint
url, as below
#This used to access the activemq
userName=system
password=manager
#This used to set the url of endpoint
url1=restlet:/rs/his/...
url2=...
I config the router by {{url1}}, and the activemq infomation
with{{u
Before adding the trasaction configuraiton to activemq component, as below
I can send msg to activemq which config by
---
After adding the trasaction configuraiton to a
After startuping the camel context, how to get the infomation of a router.
e.g.
I start the camel by Spring. by injecting, I can get the camelContext
instance, defined in the spring configuration files.
Then I get the list of route by context.getRoutes();
By interating each route object, I can g
I can get the routedefinition instance by
List routes = this.camelContext.getRoutes();
for (Route route : routes) {
RouteDefinition routeDefinition = route.getRouteContext()
.getRoute();
routerInfos.add(routerInfo);
}
But I don't find a intu
When I config the jmx on camel, the objectname is auto genenrated as
org.apache.camel:context=*Happiness*/camelContext,type=components,name="activemqTCP"
and the Happiness is the my hostname, whether I can config it, e.g. make it
as *localhost*/camelContext, I need access it by program and it may c
I can run the application and unit test with the jmx object, such as router,
endpoint etc that published by camel, but when I build the application with
maven, there is no router,endpoint was exposed, what i need to do when build
camel jmx project, how camel can expose the jmx object when building
The version of camel is 2.12.1
The version of Spring is 3.2.4.RELEASE
The version of Maven is 3.1.1
My application is start through Tomcat, and the default jmx object such as
route, endpoint was published and accessable.
When running the junit test in eclipse, the default jmx object such as
route
I ran a single test with maven, and the jmx objects were published and the
resulte is expected.
But when run mvn:test, the error occured.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-build-camel-jmx-with-maven-tp5743222p5743311.html
Sent from the Camel - Users mai
Sorry, when adding this annotation, the jmx objects didn't be exposed, and
another exception was raised.
The thread blocked at the cyclic barrier has timed out
java.util.concurrent.TimeoutException
at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
at java.util.co
1. Whether I can add a new router when camel is running?
2. Some days before, we use mule to manage the route infomation, but for
some reason, we forward to camel. Can it support the dynamic load router ?
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-add-new-router-a
16 matches
Mail list logo