I am using virgo web server, and after more digging it looks as though the
problem is that I am not importing 'org.springframework.osgi.core'.
But if I do import 'org.springframework.osgi.core', I am having other issues
in my environment.
--
View this message in context:
http://camel.465427.n5.
I am using camel (tried 2.6 and 2.10.1) in an osgi environment and I am
getting exceptions when camel is checking an 'is' predicate:
org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: is
operator cannot find class with name: MyClassName
It seems that the class loader used by ca
after moving from camel-quartz 2.4.0 to 2.6.0 I started getting exceptions
when the trigger is fired:
10:39:47.776 [DefaultQuartzScheduler_Worker-9] ERROR
org.quartz.core.JobRunShell - Job DEFAULT.quartz-endpoint140 threw an
unhandled Exception:
org.apache.camel.ResolveEndpointFailedException: Fa
Thank you very much
--
View this message in context:
http://camel.465427.n5.nabble.com/Add-a-Processor-to-a-route-at-runtime-tp4257724p4267611.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks the java predicate works but I still have problem identifying the
route that is being checked for interception.
I tried using the 'exchange.getFromEndpoint().getEndpointUri()' but this
only returns the endpoint which originated this message exchange .
Is there a way to get the RouteId in
Looks like interceptFrom could be the right way to go.
How can I add a predicate to the interceptFrom that will intercept according
to a header and the routeID ?
Something like this:
${in.getExchange.getFromRouteId} ==
${in.header.interceptFromRouteID} />
I am adding plugins functionality to my app and I want the plugins to be able
to add processors to the existing routes. I don't know in which route or
where in the route the plugin would want to add some logic thats why I
wanted to add the processors at runtime.
Can 'Camel Intercept' help me with
Hi
Is it possible to alter an existing running route and add a Processor to
some point at the routes sequence using the camel api ?
something like :
Route route = camelContext.getRoute(routeID);
route.suspend();
route.addProcessor(new SomeProcessor());
route.resume();
If it is possible please
Is it considered best practice to have just one camelcontext exported to the
osgi service and each bundle will add its own routes ?
If so can you tell me how can this be done with xml ?
Jacob
--
View this message in context:
http://camel.465427.n5.nabble.com/split-with-spring-DSL-bean-tp3405576
>So you have 2 bundles, and each bundle have 1 CamelContext in the XML file.
>Are the XML file in each bundle different?
>Or do they both define a and is this class in
>each bundle?
no bean id="pojoSplitter" is only in one bundle.
>Do you export the bean into the osgi service registry?
no
Came
Hi,
I did some debugging and apparently the beanholder for the bean processor
(of bean pojoSplitter ) has the wrong camelcontext.
I have 2 camelconetxts in my app one in each osgi bundle and for some
unknown reason camel has attached the wrong context to the bean. that is why
in 'CompositeRegistr
Hi,
I am trying to use a POJO for a splitter with spring.
I defined a bean as a splitter and set it as the split method like this:
...
but when a message reaches the route I get this exception:
org.apache.camel.NoSuchBeanException: No bean could be found in the registry
for:
Is there a way to ignore the exception using the onException tag ?
If it is possible can you tell me the correct xml syntax ?
This is my route:
HEADERNAME
Thanks,
Jacob
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-recipie
Hi I am using camel:recipientList with ignoreInvalidEndpoints="true"
HEADERNAME
but I am getting NoSuchEndpointException exception with "This exception will
be ignored".
Is there any way that I can disable this exception from showing in my log ?
Thanks
Jacob
--
View this message in c
Thanks, I will try the onRedeliveryRef.
About the Properties component. I am using spring-dm and I am constantly
getting an exception when camel tries to build the route because it cannot
find the properties, I think it is because I am using osgi and the
ConfigurationAdmin service is not yet avail
Thanks for you reply,
a. I will try out the property placeholders
b. I didn't see an onRedelivery tag, how do I use onRedelivery in xml ?
Thanks
Jacob
--
View this message in context:
http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3402066.html
Sent from the Camel - Users
Hi Claus, thanks for your help.
My question is very basic ( I am new to spring )
> from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" +
> PropertiesProvider.GetCompId() + "'") //
a. How do I create the xml's "
How would camel know that the processor should be processed befo
Hi
I need some help converting some java DSL code to spring DSL
java code:
from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" +
PropertiesProvider.GetCompId() + "'") //
...
.onRedelivery(new RedeliveryProcessor())//
...
.end();
Thanks
Jacob
--
View this message in context:
h
Hi Olivier.Roger,
Have you found a solution for extending routes.
I am trying to implement plugin functionality using camel and osgi and I am
facing the same problem you had, how did you end up implementing extendable
routes ?
--
View this message in context:
http://camel.465427.n5.nabble.com/H
Thanks Claus it works now.
--
View this message in context:
http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3389110.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Charles
When I deployed :
install -s mvn:org.apache.camel/camel-core/2.6.0
I got this stacktrace:
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-core [45]: Unable to resolve 45.0: missing
requirement [45.0] package;
(&(package=org.fusesource.commons
I tried to deploy the project with Karaf 2.1.2 but although the bundles are
active nothing seems to happen.
This is where you can find Virgo:
http://www.eclipse.org/virgo/download/
Thanks for your help
Jacob
--
View this message in context:
http://camel.465427.n5.nabble.com/tutorial-osgi-camel
I am not using karaf, what kind of changes should I do to fit camel 2.x in
virgo (dm server)?
--
View this message in context:
http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3384195.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Willem, I am using jdk1.6 do you know how can i set virgo to fit this jdk?
--
View this message in context:
http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3384188.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes I read the support page and I am sorry for the unclear posts, I wasn't
sure what kind of additional information was missing.
I have tried deploying using the pickup directory and the server console and
from STS non worked.
I have tried removing the version numbers and still I get the same
exce
I build the example by myself by fallowing the steps in the tutorial.
I deployed the example using Virgo web-server v2.1
--
View this message in context:
http://camel.465427.n5.nabble.com/tutorial-osgi-camel-part1-on-virgo-dm-Server-tp3383469p3383582.html
Sent from the Camel - Users mailing list
I am trying to get the camel osgi tutorial
(http://camel.apache.org/tutorial-osgi-camel-part1.html) running on Virgo
web server ( dm Server ) and when trying to run the sample code I get this
exception:
org.eclipse.virgo.kernel.deployer.core.DeploymentException: Line 9 in XML
document from URL
[b
27 matches
Mail list logo