Hello,
I had same problem and i resolve it using "onException tag" to intercept
validation error and return another http response code
Example DSL:
java.your.exception
403
true
.
--
View this message in context:
Hello,
abstractly dynamic uri can be do it using recipientList + simple leanguage
example here: http://camel.apache.org/recipient-list.html
--
View this message in context:
http://camel.465427.n5.nabble.com/Issue-with-dynamic-uri-tp5779689p5779690.html
Sent from the Camel - Users mailing
ok
when 2.16.3 is released? :-)
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-maven-plugin-executable-jar-MANIFEST-entry-is-missing-tp5779625p5779663.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes!!!
I am using pom same pom.xml with all camel dependencies for my project!!!...
If i change camel version from 2.16.2 to 2.16.3-SNAPSHOT maven jar plugin
failure!
--
View this message in context:
Hello Claus,
I cannot insert camel-spring manually because it is a maven plugin work!
I repeat this concept: with camel 2.16.2 it is all ok!!! Is it a bug of
2.16.3 version?
According follow source code, maven jar plugin is able to do it:
org.apache.maven.plugins
maven-jar-plugin
Hello,
i am using camel-maven-plugin with camel version 2.16.3-SNAPSHOT, but my
executable jar don't have enough MANIFEST 's entries (for example
camel-spring is missing!!)
With camel 2.16.2 it is all ok!
It's a bug?
Output:
$ java -jar myFantasticCamelApplication.jar
Exception in thread
Hello,
i have a modular apache camel project (camel 2.15.5), with multiple camel
context xml file.
My project package's steps are:
Step 1.
maven copy *.xml camel context into a common directory META-INF/spring
Step 2.
maven camel:run
Step 3.
Into main camel-context i am declaring all
Hello,
The jira is resolved end I am using camel-2.16.3-SNAPSHOT but i'm still same
bug
Is it ok?
what am I doing wrong?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-swagger-java-not-parse-property-tp5778734p5779008.html
Sent from the Camel - Users mailing list
+1
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-swagger-java-not-parse-property-tp5778734p5778805.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
View this message in context:
http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791p5778804.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
To hide part of my API documentation, It could be nice to have a swagger
switch off mode.
I am thinking the following code:
off
Best regards
--
View this message in context:
Hello.
There is a bug into swagger JSON file.
I am using follow rest DSL (xml) with camel-2.16.3-SNAPSHOT
...
Output Swagger JSON:
{
"swagger" : "2.0",
"info" : {
"version" : "1.0.0",
"title" : "MY API"
},
"host" : "0.0.0.0:8080",
"tags" : [ {
"name" :
I expected your answer.
Claus give me some clues. I try to develop it, and then I'll send
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-sql-Query-with-params-list-tp5778544p5778582.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hello,
i would execute this query:
But i am thinking it is not supported yet.
How to do it?
Tnkx, fabrizio
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-sql-Query-with-params-list-tp5778544.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello. I have a similar problem.
How to resolve it?
--
View this message in context:
http://camel.465427.n5.nabble.com/Splitting-within-transactions-tp5719539p5774114.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
i would use camel 2.16 + jetty9 + camel-websocket but this component depends
from jetty8.
How can i do?
i am trying force to use jetty9 from maven without success.
--
View this message in context:
Hello.
This is a big problem because my project contains more than 100 routes.
--
View this message in context:
http://camel.465427.n5.nabble.com/Upgrade-to-2-16-0-tp5772570p5772597.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
i would use same interceptor (XML Spring implementation) into my different
projects.
Can i reference an interceptor like "routeContextRef" tag or
"restContextRef" tag?
--
View this message in context:
http://camel.465427.n5.nabble.com/Interceptor-into-external-file-tp5771400.html
Camel interceptor:
http://camel.apache.org/schema/spring;
errorHandlerRef="deadLetterErrorHandler">
... ANOTHER CODE ..
... ANOTHER CODE ..
... ANOTHER CODE ..
Ok thanks, my (temporary?) implementation is:
FILE 1:
... MY CODE ..
... MY CODE ..
... MY CODE ..
... MY CODE ..
Hello everyone,
In my camel-context file i would use a local XSD schema.
Today my camel-context start with:
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:camel=http://camel.apache.org/schema/spring;
Hello everyone,
To force commit you just typing *to uri=sql:commit /*
King Regards!
--
View this message in context:
http://camel.465427.n5.nabble.com/SQL-Component-Transaction-manager-force-commit-tp5762948p5763193.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
i am using camel 2.14.2-SNAPSHOT.
Into my transacted route are using this settings:
bean id=transactionManager
class=org.springframework.jdbc.datasource.DataSourceTransactionManager
property name=dataSource ref=mysql/property
/bean
bean id=PROPAGATION_REQUIRES_NEW
So,
I am using the code according to this page (
http://camel.apache.org/javascript.html )
--
View this message in context:
http://camel.465427.n5.nabble.com/Javascript-DSL-response-is-not-defined-tp5762839p5762844.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello everyone.
I am using camel 2.14.2-SNAPSHOT and i am trying to access object *response*
into my code:
Can you help me?
Spring DSL:
transform
javaScript
var a = request; // OK
var b = request.body; // OK
var c = response; //FAIL
Hello, i am using batch value. This seems to work but i lost transactional
functionality.
So.. i am creating the issue into JIRA
My settings are:
bean id=mysql
class=org.springframework.jdbc.datasource.DriverManagerDataSource
property name=driverClassName value=${mysql.driver}
Thanks to resolve the issue: https://issues.apache.org/jira/browse/CAMEL-8329
I am testing now!
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-SQL-CamelSqlRetrieveGeneratedKeys-attribute-delete-all-headers-tp5762512p5762544.html
Sent from the Camel - Users mailing
Hello everyone,
I am using Camel (2.14.1) SQL component, with
*CamelSqlRetrieveGeneratedKeys=true*.
After an insert operation i have a correct CamelSqlGeneratedKeyRows value
but *I am lost all my previous header params.*
Is it a bug?
There is any param to preserve my headers?
Tnkx
--
View
I am using camel 2.14.1 and Rest DSL
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-Change-request-header-size-to-jetty-http-component-tp5762312p5762313.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello everyone,
How to change request header size default values on jetty http component?
i am trying follow code without success.
Can you help me?
thanks
bean id=jetty
class=org.apache.camel.component.jetty.JettyHttpComponent
property name=requestBufferSize value=8192/
property
Of course! I never want to use out message but reading example code (posted
by Grzegorz Grzybek) i suppose that *CamelSqlGeneratedKeyRows * variable set
into it.
code:
// assertions of the response
assertNotNull(out);
assertNotNull(out.getOut());
Thanks guy!
I finally solved my problem
King regards!
--
View this message in context:
http://camel.465427.n5.nabble.com/SQL-COMPONENT-CamelSqlGeneratedKeyRows-has-a-bug-tp5761113p5761529.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
So.. is it a bug? I haven't any information about generated keys (OUT
Message is null)
this is my code:
spring DSL
camel:camelContext xmlns=http://camel.apache.org/schema/spring;
camel:restConfiguration bindingMode=auto component=jetty
host=0.0.0.0 port=8080/
Hello,
using spring DSL and tag camel:transacted/ i have this error:
*org.apache.camel.NoSuchBeanException: No bean could be found in the
registry of type: PlatformTransactionManager*
So.. i don't have any transactionManager. My connection is a simple mysql
connection like:
bean
Hello,
i would use sql component (http://camel.apache.org/sql-component.html) into
a transactional scenario.
For example:
0) begin
1) insert
2) insert
3) commit
I am using mysql.
What is the best strategy to do it using camel's component?
Tnkx
--
View this message in context:
Hello,
i am using sql component with CamelSqlRetrieveGeneratedKeys=true but after
an insert operation i don't have any CamelSqlGeneratedKeyRows header.
Is it a bug?
I am using mysql server 5.1.
Tnkx
--
View this message in context:
Hello,
i am using camel 2.14.1 (snapshot) to aim use newest camel rest component
(using REST DSL).
I am writing more rest services and i would test it using camel test java
class.
My main idea is write java class extends CamelTestSupport and use http camel
component to invoke my REST services.
Sure... i can use any rest tool but my idea is create a set of regression
test to help me on the future.
ps. i am moving to maven central. Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Testing-REST-Service-tp5760757p5760764.html
Sent from the Camel - Users
38 matches
Mail list logo