java.sql.SQLException: Error while compiling statement: FAILED:
SemanticException Line 0:-1 Invalid column reference 'first'
Is there a column 'first' in your database?
While I am not much database experiences I would miss some values to insert
with that sql:
insert overwrite table address_targ
Hi All,
Thank you for support.
I am able get the table name and able to load the data into the table.
Need one more small help from your end.
I am trying for dynamic insertion. where again its not finding the element
name.
PSB,
Router:
from("file:///home/cloudera/Desktop/?fileName=Sample.xsd
Thanks Taariq - plenty of ways to skin this camel - which is what is so nice
about it. I managed to get what I wanted by using a simple java processor.
Cheers,
Stu.
--
View this message in context:
http://camel.465427.n5.nabble.com/Unexpected-behaviour-of-Camel-Simple-expression-tp5760163p
Thanks Williem!
I will try this out ... Let me know if you need any help building those
examples, probably i can assist you with that.
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760267.html
Sent from the Camel - Us
OK, I know you point, you need to setup the camel registry for lookup the
processor reference.
Please take a look at the section of "Using custom CamelContextLifecycle"[1],
there is an example to show you how to setup the registry for processor
reference that you may use.
I will update the exam
If you don’t want to expose some camel header as the Http header, you can do it
with camel header filter[1][2], in this way, you application logic cannot
affect the camel internal logic.
[1]http://camel.apache.org/maven/camel-2.14.0/camel-core/apidocs/org/apache/camel/spi/HeaderFilterStrategy.ht
Thanks for the quick reply williem!
my configuration used is as follows:
web.xml
http://xmlns.jcp.org/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd
You can define the aggregator and processor just as you do with spring.
As Camel has a set of internal modules, which can be unmarshalled from the xml
with JAXB, to implement the EPI. We just need to tell
JndiCamelServletContextListener to load these routes xml this time. The route
definition is
Hi
I've run into an issue where my route clears the headers right before a rest
call to prevent unintended headers being sent on the request. Something like
this.
Unfortunately this seems to wipe out the CamelRedeliveryCounter as well. So
when an error occurs, redelivery just continues for
Thanks.
That's what I did, and it perflectly works.
I have to process some modifications to the file through a java application.
So, is it the only way to process my file ? Or is there a more optimized
solution without downloading the file ?
Best,
Nicolas.
--
View this message in context:
htt
Hi,
I am checking out on the possibility of using camel without spring... I was
looking at the examples available on this regard and could only find
http://camel.apache.org/servlet-tomcat-no-spring-example.html. The example
shown is quite simple which doesnt involve any processor, aggregrator etc.
Hi Claus!
Sorry but I do not understand. My correlation expression is simply returning
the value of "key" (see class "CorrelationExpression" below of my initial
mail). Debugging I see the first list contains two elements as expected. As
soon the correlation key changes camel correctly starts wi
12 matches
Mail list logo