Hi
I need to load the camel-config file (which has some springs defined in it
and camel context for routers) in my java class which is not spring bean.
How do i need to do it?
Regards,
sam
--
View this message in context:
http://camel.465427.n5.nabble.com/loading-camel-config-tp5636548p5636548
Hi
I need to test whether the predicate object matches the exchange for various
expression languages. I need to know what exchange value I need to set in
exchange to validate the predicate.
public void test() {
String expression="//orders/value>10"';
CamelContext
Hi
I have seen an interface Predicate in the jar camel-core 2.9.0.
it has this method
public interface Predicate
{
public abstract boolean matches(Exchange exchange);
}
--
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Predicate.html
the abo
Hi
I have seen an interface Predicate in the jar camel-core 2.9.0.
I need to know whether the implementation of this interfaces are done in the
jxpath,sql,spel,ognl expression language. Could you guide me where the exact
jar and classes where the interface is implemented in those EL?
Thank you
Hi
I am new user to camel. My question may be simple,but i couldnot able to
find the respective jars (name of tthe jars) for the following classes.
1. interface Predicate
2. Expression languages implementation jars
--SQL (SQLExpression)
-- OGNL (OGNLExpression)
Hi
I am new to camel. I have a use case, I need some suggestions and best way
to implement it.
I have some data in database which has some header values as jxpath
expression. I need to validate it using filter.
eg: jxpath //books/value>600
But in camel, the filter always comes with camel c
Yes i added jaxb jar
--
View this message in context:
http://camel.465427.n5.nabble.com/Exception-while-using-jaxb-inside-xml-tp5503335p5504128.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi I have tested a sample with simple router by loading it by xml. but when i
include jaxb and camelcontext in it, its not getting loaded. It throws
exception.
xml router:
http://camel.apache.org/schema/spring";>
Hi I have tried an example to marshal and unmarshal in the router using
jaxb.I need to pass the jaxb dataformat object as reference to the xml flow
and do the marshalling and unmarshalling.
my router without marshal:
http://camel.apache.org/schema/spring";>
yes,
its in my camel.xml.
camel.xml
--
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.
I want the full flow should be in xml not in java file. So only I am trying
to use Spring concept.
I have seen some jaxb example in the camelinaction source code. I have
created a project using jaxb.
I need to JAXB object which is in my method(jaxb annotated class) should
directly be used to trigge
Hi
I am also facing the same issue. I have tried you idea. But I am getting
this error. I have tried with routing with file://test to file://test2, am
not getting error. only when i use jms
error:
Exception in thread "main"
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpect
Hi I have added two doubts within same topic. Thats the mistake i did. People
provided me some solutions for loading routers from xml. I did it. Now i
need to pass jaxb object to the xml flow.
--
View this message in context:
http://camel.465427.n5.nabble.com/loading-xml-file-tp5483420p5484851
Hi I have added two doubts within same topic. Thats the mistake i did. People
provided me some solutions for loading routers from xml. I did it. Now i
need to pass jaxb object to the xml flow.
--
View this message in context:
http://camel.465427.n5.nabble.com/loading-xml-file-tp5483420p5484849
Hi
I am new user to camel.
I have a project created using JAXB. My requirement is, when the method in a
service is called, JAXB object inside the calling method should directly be
used to trigger off the flow defined in the XML (router).JAXB object should
be passed as-is by reference to the xml f
Hi
I am new user to camel.
My requirement is the JAXB object which is in the method in java should
directly be used to trigger off the flow defined in the XML (router).JAXB
object should be passed as-is by reference to the xml flow(contains router
information).
Could you provide me some examp
Hi
I have seen some simplerouterfromxml java file in the link
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jaxb/SpringLoadRouteFromXmlTest.java?view=markup&pathrev=1040085
whether I need to do the same thing or its for older version?
// load ro
Thank you for your reply.
I have gone through it. Is there any demo example implemented this concept
in already existing camel examples?
--
View this message in context:
http://camel.465427.n5.nabble.com/loading-xml-file-tp5481677p5481741.html
Sent from the Camel - Users mailing list archive at
Hi
I am a new user to camel.
Could you provide me some example in which, the service should load the xml
from file system(the xml contains the flow for the service) and should
execute it when a service is called.
Thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/l
Thank you.
I have got the problem resolved with your guidance...
The problem is with jdk only.
Thank you so much :-)
--
View this message in context:
http://camel.465427.n5.nabble.com/ERROR-while-running-camel-routing-as-war-file-tp5474775p5477461.html
Sent from the Camel - Users mail
I have used jdk 1.6
but still I got the same error. As per your guidance, I have added
concurrentlinkedhashmap-lru-1.2 jar and tested, but still getting the same
error.
Which jar i need to implement in my war file?
jdk version jdk1.6.0_18.
--
View this message in context:
http://camel.4654
camel version 2.9.0
jetty server
jdk1.7.0_02
whether it might be any dependency issue?
--
View this message in context:
http://camel.465427.n5.nabble.com/ERROR-while-running-camel-routing-as-war-file-tp5474775p5475248.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I am new user to camel.
I have tried to route the message from one queue to other queue. while
running as java application, it works fine.
I have created war file using the same java file but am getting this error.
ERROR - {1356bff3-d686-53fe-2640-165b} java.lang.NoSuchMethodError:
c
Hi
I am new user to apache camel. I have tried few examples in apache camel.
bUt to understand it in better way. I thought of routing the msg from one
file to other eg: file://test to file//test2how to route it? I dont
need any jms kind of stuff. Can u provide me the example?
Thanks
--
V
Thank you so much, I got it working with your guidance
--
View this message in context:
http://camel.465427.n5.nabble.com/error-executing-mvn-exec-java-tp5463930p5464303.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you so much, I got it working with your guidance
--
View this message in context:
http://camel.465427.n5.nabble.com/error-executing-mvn-exec-java-tp5463930p5464305.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you so much, I got it working with your guidance
--
View this message in context:
http://camel.465427.n5.nabble.com/error-executing-mvn-exec-java-tp5463930p5464304.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am using the example camel-example-jms-file provided in apache-camel-2.9.0.
http://camel.apache.org/walk-through-an-example.html
--
View this message in context:
http://camel.465427.n5.nabble.com/error-executing-mvn-exec-java-tp5463930p5464185.html
Sent from the Camel - Users mailing list arch
Hi,
I am new user to apache camel. I am very much interested to learn it. I just
treied to implement the walk through sample(first example) using java dsl.
Bu when i execute mvn exec:java I am getting this error.
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.1.1:java (defa
29 matches
Mail list logo