Hello everyone,
I encountered a problem. I would like to pass to setHeader a non-constant
expression, but I can't seem to manage to do it.
My *route* looks like that :
//My own function that works well
int monthId = getLastIdFromBasis();
//Transforming xml into database
from
Hi everyone !
I'm still new to camel and I'm trying to use the enrich methode and the
aggregation strategy.
What's I'm trying to do is merging 2 xml files that look alike, like *this*
:
?xml version=1.0 encoding=UTF-8?
numbers
month name =Janvier
ca12/ca
Hi everyone,
I'm currently still new at camel and I'm encoutering a problem.
In fact, I have to use jdbc to make some Select/Insert SQL requests on my
database.
Until here, everything good.
But when I use the configure method, I have a Failed to resolve endpoint
error.
Here is the
I don't really understand what you mean by data source spring
configuration.
Maybe it's something I lack.
--
View this message in context:
http://camel.465427.n5.nabble.com/Configuring-database-with-jdbc-tp5753574p5753583.html
Sent from the Camel - Users mailing list archive at Nabble.com.
So I tried what you all said. (And now I get it about the
springConfiguration).
My spring configuration now looks like that :
?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:jdbc=http://www.springframework.org/schema/jdbc;
I think you saw the next error I was going to running to.
But it didn't change the problem. I even tried to add in my pom.xml
dependency
groupIdmysql/groupId
artifactIdmysql-connector-java/artifactId
version5.1.9/version
/dependency
Just to see
Here is my* spring configuration *:
?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:jdbc=http://www.springframework.org/schema/jdbc;
xmlns:camel=http://camel.apache.org/schema/spring;
I tried what you said. I just removed the camel-context.xml and wrote this in
my main :
public static void main( String[] args ) throws Exception
{
//Configuring the database
DriverManagerDataSource ds= new DriverManagerDataSource();
It works well now, thank you, I don't think I would have been able to see it
myself.
Just so that this post is not useless, I would (now) recommend the registry
method that was given, it helped me a lot.
I also looked at another question that had been asked and that helped me :
First of, thank you for your answer.
But the thing is the probleme is not really solved because after i
compiled using your tip, the console is still running on and on again, but
with a different type of message that I understand even less than before...
26626 camel TRACE [Camel (camel)
Thanks a lot ! It works now, I mean nothing get to be print on the console.
But what I'm wondering is the following.
I don't really understand how the Main class works. It just goes :
public class Main extends org.apache.camel.spring.Main {
public static void main(String... args) throws
11 matches
Mail list logo