Anybody has an update on this
--
View this message in context:
http://camel.465427.n5.nabble.com/Very-Urgent-Camel-direct-component-issue-tp5792539p5793706.html
Sent from the Camel - Users mailing list archive at Nabble.com.
As per the discussion [1], the work-around was given to add
'proxyAuthScheme=http4'. But there was also a fix done for 'CAMEL-5595', what
is the fix really?
Without the 'proxyAuthScheme' our HTTP calls using HTTP4 fails with -
"Unrecognized SSL message, plaintext connection?" error message.
St
The first one is probably doing a graceful shutdown so it waits until any
inflight exchange is complete before it stops. You can decrease the timeout
to less than 300 seconds if you want to.
The two approaches do somewhat different things if I am not misstaken.
The first one polls an ftp site for
Hello
So I can either create a producer route with
from("ftp://...";).converBodyTo(...).to("direct:result")
and use
String s = camel.createConsumerTemplate().receiveBody("direct:result",
String.class);
or I create a consumer route with
from("direct:getFile").pollEnrich("ftp://...";).conve
Hello
How can Guivanni's code be simplified further?
-christian-
Am Wed, 8 Feb 2017 12:56:51 +0100
schrieb Zoran Regvart :
> Hi Christian,
> something like that, but I would tie start/stop of Camel context with
> the lifecycle of the application and use somewhat simpler code that
> Giovanni sug
Hi,
We are using netty4 and the camel hl7 codecs to read in hl7 messages. I
would like to reject messages larger than a certain size, but I can't find
an obvious way to do so.
I was going to enable stream caching and add a processor to the route to
check the size, but the codec produces a string
I'm using apache camel in a routing context to integrate some CSV files. If I
want to skip the first line of the csv I can easily do it in the unmarshal:
My question is, whats the best way to ignore/skip the last line of the file
?
Thank you in advance,
FoZi
--
View this mes
I have open the CAMEL-10808.
BTW come back to camel after few times and still so cool :)
Great job and fabric8 just awesome !
Jeff
2017-02-08 17:08 GMT+01:00 Claus Ibsen :
> Hi
>
> Yeah we should remove one of them and polished it a bit more. You are
> welcome to log a JIRA
>
> On Wed, Feb 8, 2
Hi
Yeah we should remove one of them and polished it a bit more. You are
welcome to log a JIRA
On Wed, Feb 8, 2017 at 4:29 PM, Jean Francois LE BESCONT
wrote:
> Hi,
>
> There are two examples :
>
> https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot
> https://github.co
Thanks Claus, pollEnrich did the trick.
Gabriel
--
View this message in context:
http://camel.465427.n5.nabble.com/SFTP-get-chaining-routes-tp5793620p5793681.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Jayanta,
Unless you are not making a connection to the Database from your processor
code, you can try setting a property in the camel exchange and validating
the result of that property with the result returned from the DB.
So, something like this,
from(file://someEndpoint).
setProperty("name
Take a look at camel-saxon
On Wed, Feb 8, 2017 at 4:25 PM, Walzer, Thomas
wrote:
> Hi everyone,
>
> I would like to use xpath 2.0 expressions in Camel. Is there a way? ASFAIK
> xpath in camel-core only supports xpath 1.0.
>
> Cheers, Thomas.
>
--
Claus Ibsen
-
http://davsclau
For a simple java user like me, even the test classes create confusion.
What is the best pratice ?
@SpringBootTest(classes = SampleCamelApplication.class)
or
@SpringBootTest(classes = MySpringBootRouter.class, webEnvironment =
SpringBootTest.WebEnvironment.RANDOM_PORT)
?
2017-02-08 16:29 GMT+0
Hi,
There are two examples :
https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot
https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot-starter
Which are very similar (POC of timer). After a winmerge of these two
example and as a java camel user
Hi everyone,
I would like to use xpath 2.0 expressions in Camel. Is there a way? ASFAIK
xpath in camel-core only supports xpath 1.0.
Cheers, Thomas.
thanks everyone for your help.
I resolved this issue. It turned out that it was in 2 parts. this is with
Camel 2.15.1
1) my customer was first sending encrypted files with no compression. And
the Camel Release 2.15.1 requires compression.
1.1) it still didn't work.
2) It was discovered that the
Hello,
The current application use this swagger
http://camel.apache.org/swagger.html
I was wondering if there is any easy way to disable swagger in production
environment?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/swagger-ui-disable-in-a-different-environment
Dear Apache Enthusiast,
This is your FINAL reminder that the Call for Papers (CFP) for ApacheCon
Miami is closing this weekend - February 11th. This is your final
opportunity to submit a talk for consideration at this event.
This year, we are running several mini conferences in conjunction with
t
Not sure if this is what you are after but I have done it this way:
.when(PredicateBuilder.isEqualTo(ExpressionBuilder.languageExpression("jsonpath","$.Status"),
"whatyouwantequalto"))
The $.Status is a node in the json string.
--
View this message in context:
http://camel.465427.n5.nabble.c
Its using regular expressions so make sure that you use correct java reg exps.
On Wed, Feb 8, 2017 at 1:53 PM, souciance
wrote:
> Hello,
>
> I am trying to remove headers like this:
>
> .removeHeaders("\\w+Accept\\w+", "\\w+Authorization\\w+", "\\w+Camel\\w+",
> "\\w+Host\\w+", "\\w+Origin\\w+
Hello,
I am trying to remove headers like this:
.removeHeaders("\\w+Accept\\w+", "\\w+Authorization\\w+", "\\w+Camel\\w+",
"\\w+Host\\w+", "\\w+Origin\\w+", "\\w+Postman\\w+", "\\w+Connection\\w+",
"\\w+Content-Length\\w+", "\\w+Content-Type\\w+", "\\w+VALID_SIP2\\w+" ,
"\\w+SIP2_MESSAGE_RABBITMQ
Frank Wein wrote:
Hi all,
I wonder how I can achieve the following: I want to evaluate a
JsonPath predicate in a when() expression on a string, which is inside
a Map/MapMessage. If possible, this should be done with the Camel Java
DSL. The original message should not be modified, I only want t
Hi Christian,
something like that, but I would tie start/stop of Camel context with
the lifecycle of the application and use somewhat simpler code that
Giovanni suggested,
zoran
On Wed, Feb 8, 2017 at 11:57 AM, Christian Brunotte wrote:
> Hello Zoran
>
> So what you propose is (in pseudocode):
>
Hi,
There's no need for two routes, unless your use case is more complex
than the example you provided.
You can just use something like this:
context.start();
/* Now camel is ready */
ProducerTemplate template = context.createProducerTemplate();
String result = template.requestBody("direct:bla
I am also not able to understand the error but after this change it works.
.routeId(routeId).marshal().json(JsonLibrary.Jackson,
Map.class).convertBodyTo(String.class)
On Wed, Feb 8, 2017 at 4:26 AM, Webster wrote:
> I am new to camel and kafka.
> I am using Camel 2.18.2 with Kafka 0.10.1.1
>
>
Hello Zoran
So what you propose is (in pseudocode):
RouteBuilder builder = new RouteBuilder() {
from("direct:start")
.enrich("file://src/main/resources/inputs/test.txt")
...
.to("direct:result");
}
CamelContext camel = new DefaultCamelContext();
camel.addRoutes(si
Hi all,
I wonder how I can achieve the following: I want to evaluate a JsonPath
predicate in a when() expression on a string, which is inside a
Map/MapMessage. If possible, this should be done with the Camel Java
DSL. The original message should not be modified, I only want to
evaluate the Jso
Hi All,
Is there any mechanism to handle file transfer from source folder to target
endpoint on the basis of specific condition ? In my case I'm using Apache
Camel 2.14.2 version in my application to handle incoming files for its
processing. I need to check a condition through java code in databas
Now i am getting this error
14:43:53,236 ERROR [org.springframework.web.context.ContextLoader] (MSC
service thread 1-7) Context initialization failed:
org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route rout3:
Route
yes you are right..i find the missing jar for spring. But still i am getting
error.I think its beacause of camel.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-filter-didn-t-work-tp5793594p5793644.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Christian,
bare in mind that you can have control if you use direct component, so
having Camel context/routes started, doesn't mean that it needs to
poll in the background, you can do that on demand,
HTH,
zoran
On Tue, Feb 7, 2017 at 10:56 PM, Christian Brunotte wrote:
> Hello
>
> I'd like t
31 matches
Mail list logo