Hi
You can have 2 recipient lists
The first for the file endpoint
And the 2nd for the custom chmod
But I guess you want one recipient list, and have 2 endpoints grouped.
But this is currently not supported.
On Mon, Apr 29, 2013 at 2:35 PM, FuzzKat Media wrote:
> Hi
> I have a file route that s
Hi
Check this page again as its updated how to stop a route from a route
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html
Also there was a bug so the MBean for the scheduled thread pool was
not removed when you removed the route.
This has been fixed in 2.11.0, and upcoming releas
Hi
Did you figure out this problem?
On Wed, May 1, 2013 at 1:42 PM, Martin Stiborský
wrote:
> Hi guys,
> I'm trying to upgrade Camel and Karaf in our project to newer version,
> as the Camel 2.11 is out.
>
> Camel 2.10.1 -> 2.11
> Karaf 2.2.10 -> 2.3.1
>
> There were needed few modifications. no
Hi Claus,
Thank you for the advice, I will make a try and feedback later
On Fri, May 3, 2013 at 1:26 PM, Claus Ibsen wrote:
> Hi
>
> You have to check the logs to see what goes on. And also make sure the
> SQL query is not returning very big data as then it takes a long time.
>
> And you can
Hi
You can use recipient list instead
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
It also supports an aggregation strategy to "merge" the result
http://camel.apache.org/recipient-list.html
On Thu, May 2, 2013 at 9:00 PM, Al Ferguson wrote:
> Hi,
>
>
> Is it possible to override
But how to get the parameters into the route? I dont want to store everything
into header, body ...this will grow up the code again
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-possible-to-wrap-a-part-of-route-tp5731917p5731946.html
Sent from the Camel - Users mailing l
Hi Sachin
That works for me.
Thanks a lot
-Bhushan
--
View this message in context:
http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362p5731945.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You can load the content of the file into memory before calling CXF.
On Fri, May 3, 2013 at 4:51 AM, bocamel wrote:
> Hello, I was testing a Camel CXF web services application. I ran into this
> problem.
>
> In my Camel web services test application, I have two rout
Hi
Thanks I have updated the docs. Takes a bit to sync to the static html
pages with the update.
On Fri, May 3, 2013 at 7:31 AM, wrote:
> Hi.
>
> I just noticed that there is an error in the MINA documentation
> http://camel.apache.org/mina.html
>
> In the options it says for "sync" parameter:
Hi
And if you are looking for graphical tooling then there is some 3rd
party tools such as Fuse IDE
http://fusesource.com/products/fuse-ide/
The source code is at github at: https://github.com/fusesource/fuseide
And a web based tool as well
http://hawt.io/
And you may find links to other tools
Hi
We got started on this 5 years ago. And my former client is retiring
their last JCAPS integration this year.
Just being able to "free" your business logic and store this in a
regular code repository like SubVersion, Git, etc is a big big win.
And using regular Java / Spring code that everybody
Hi.
I just noticed that there is an error in the MINA documentation
http://camel.apache.org/mina.html
In the options it says for "sync" parameter:
"You can configure the exchange pattern to be either InOnly (default) or InOut.
Setting sync=true means a synchronous exchange (InOut), where the c
Hi
You have to check the logs to see what goes on. And also make sure the
SQL query is not returning very big data as then it takes a long time.
And you can also look on the Oracle side what goes on, if it has
received the SQL and is executing it etc.
On Thu, May 2, 2013 at 11:07 AM, 黄骞 wrote:
Hi
Is it the same map instance you want to use? If you register it in the
Camel registry, then Camel will use the same instance, as it just
lookup the instance by the name you assigned to it, when it was added
to the registry.
You can also use the same bean instance and have the bean with a
share
The seda component allows to specify a number of concurrent consumers,
so can you process messages in parallel if you want.
When you send a message to a seda endpoint it depends if its InOnly or
InOut. The latter will have the sender wait for the message to
complete (but you can configure this).
Hi,
Is it possible to override the address of an enricher?
I've tried the following but it does not work. The Enricher still calls the
address of its own uri parameter, and not the one from the CamelHttpUri
header.
Thanks,
Al. F
--
View this message in context:
http://camel.465427.n5.nab
https4(Apache Camel 2.10.3) component option httpClientConfigurer for SSL is
not working when i have two different configure for two different route. we
need you help to resolve this issue or any alternate solution. Please let me
know if you have questions or need more information.
We are using
Hello, I was testing a Camel CXF web services application. I ran into this
problem.
In my Camel web services test application, I have two routes:
First route reads messages from a folder (src/data/in), sends the messages
to my web services, and then writes the response to another folder
(src/dat
Place the common part in it's own route and make it consume from a
Direct endpoint, e.g. direct:common.
Raúl.
On 2 May 2013, at 14:27, horyna wrote:
> We have in lots routes some common part. e.g.:
>
> .setHeader("h", constant(THIS_IS_VARIOUS_FOR_EVERY_ROUTE))
>.filter(method("
I must add it looks like there are two instances of HttpComponent. One is
configured with SSL context and the other is not. Is that ok?
--
View this message in context:
http://camel.465427.n5.nabble.com/Truststore-in-HTTP4-component-not-working-tp5731925p5731926.html
Sent from the Camel - Users
I use the following code:
KeyStoreParameters ksp = new KeyStoreParameters();
ksp.setResource("truststore_test.jks");
ksp.setPassword("password");
TrustManagersParameters trustManagersParameters = new
TrustManagersParameters();
trustManagersParameters.setKeyStore(ksp);
SSLContextParameters scp =
Hi there,maybe I'm running in the totally wrong direction. My problem is
this:
I have a database table "order" and a 2nd database table "orderlines". My
task is to produce a csv file for each "order" entry with a value of 0 in a
column "status". This csv file should contain some informations of the
Hello,
I've constructed a thread leak somehow. I found some discussions/issues
describing past thread leaking problems, e.g.:
http://stackoverflow.com/q/10071814
http://stackoverflow.com/q/14992793
https://issues.apache.org/jira/browse/CAMEL-5072
http://camel.465427.n5.nabble.com/FTP-ConsumerTempl
Magnus,
Thanks for your reply. I am using Camel 2.11.0, gradle 1.5 and groovy 2.1.1. I
found a gradle plugin called gradle-one-jar by rholder
(https://github.com/rholder/gradle-one-jar) that did the trick. Here are the
relevant bits from my build.gradle:
apply plugin: 'groovy'
apply plugin: 'a
I'd like to share my workaround in case anybody is interested (using Camel
2.11.0):
I was successful with the following approach:
camelContext.stopRoute( "my-file-route", 30, SECONDS );
camelContext.removeRoute( "my-file-route" );
MyPollingRoutes newRoutes = new MyPollin
Thanks Claus for your answer.
I do another way, I create a fonction which return my map (like Christian
said, thanks to you Christian).
But now I just search how I could use my map in another file.
i.e =>
1) from(file1)
bean(function1) function which returns a map
2) from(file2)
bean(function2
Hey,
horyna wrote
> is here possibility how to wrap in and call like one part? e.g.:
>
> from("uri").unmashal...callCommonPart(parameters) ...marshal
yes, you can do something like that:
final ProcessorDefinition processorDefinition = from(...)...process(...)
After that you can continue on th
We have in lots routes some common part. e.g.:
.setHeader("h", constant(THIS_IS_VARIOUS_FOR_EVERY_ROUTE))
.filter(method("serv", "method").isEqualTo(false))
.to(VARIOUS_URI)
.beanRef("serv", "method");
is here possibility how to wrap in and call l
Hi
I think ${ } from the simple language syntax in Camel conflicts with
groovy gstrings.
So you can use $simple{ } instead to avoid this clash.
Or redefine the simple language to use other tokens than ${ }
So something like:
.to("bean://verbes?method=myFonction($simple{ref:myMap})")
On Thu, M
Thank you Claus!
Just to add it to this thread: I now use the "include" option of file2 with
my regex.
--
View this message in context:
http://camel.465427.n5.nabble.com/File2-only-move-non-filtered-tp5731908p5731913.html
Sent from the Camel - Users mailing list archive at Nabble.com.
1. We are trying to invoke REST Service from Camel route, but getting the
error:
org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused
by: com.ctc.wstx.exc.Wstx
EOFException: Unexpected EOF in prolog
Our route is like this :
Hi Preben
Nice to see the progress on this component.
Yeah when Splunk publish their JARs to Maven Central and under an
Apache approved license (I assume it may already be) then I think we
can accept it as donation into the ASF codebase.
PS: As usual the OSGi users would like to know if the splu
Hi,
Could be great having those jars available on maven central!
especially for this component.
[Out of topic] but could be great having those jars
(https://github.com/splunk/SplunkJavaLogging) on Maven central too :-)
2013/4/9 Damien Dallimore :
> We have plans to release the Splunk SDK for Java
Hi
You need to use the filter option(s) on the file endpoint to skip those files
http://camel.apache.org/file2
There is options like: include, exclude, antInclude, antExclude, filter, etc.
There is details on that link.
On Thu, May 2, 2013 at 12:58 PM, mdo wrote:
> Hello,
>
> I have a directo
Camel version is : 2.9.2
using Java DSL RouteBuilder and my destination end point (cxf webservice).
Thanks,
Gafoor
--
View this message in context:
http://camel.465427.n5.nabble.com/enabling-the-route-if-destination-endpoint-is-not-available-tp5731848p5731907.html
Sent from the Camel - U
Hello,
I have a directory structure where I want to selectively process files while
leaving the filtered ones untouched. My route:
from("file:///.../somedir?recursive=true&move=.done")
.filter().simple("${file:onlyname} regex '.*[.]txt'")
.process(new MyProcessor())
I'm using the cxfEndpoint in my camel flow to act as a webservice producer.
I have a number of clients that are able to send SOAP messages to that
endpoint, where Camel does the
required processing and returns either a valid SOAP response or a SOAP
fault.
http://localhost:9080/app/webser
Thanks for your anwsers. But I don't success.
I use the default Camel registry (jndiContext)
*def jndiContext = new JndiContext()
def mymap= [:]
mymap["Mode"]="Zip"
mymap["test"]="test"
jndiContext.bind("myMap",mymap)*
from("file://path")
.to("bean://myclass?method=myFonction(${ref:myMap})")
=
Thanks, can you also have a look at the last part of my question i.e. route
having both direct and seda component.
--
View this message in context:
http://camel.465427.n5.nabble.com/Back-to-Basics-Apache-Camel-Routes-and-Direct-Component-tp5731899p5731903.html
Sent from the Camel - Users mailin
Hi
i have to send from a web service an id to a socket server .
when i get the id in my exchange then i use to send it
i get this error
[qtp21158020-25] WebApplicationExceptionMapper WARN
javax.ws.rs.WebApplicationException:
org.apache.camel.CamelExchangeException: Can
Hi
direct is like direct method invocation in java code, eg like calling
a method on a java class.
So this call happens with the current thread.
So like in java if you have concurrent threads calling the same
method, then this happens concurrently.
And the same for the Camel direct component.
SE
I am bit confused about Camel routes and its two endpoints : Direct and Seda.
Well let's say i have a route like this :
public void configure()
{
from("direct:services")
.process(//Some processing here)
.to("http://ThirdPartyServers";)
}
On top of this I have a rest w
Hi
Thank you for the help!
1.For the json-path library, can you give me some blueprint using example?
2. I have covert the json into a map struction using jackson with the
following code
How can I get the value of "id" field? Can you give me some example?
Thank you again!
黄骞/Huang Q
Hi,
Thank you very much for the suggestion! I think I missed some code in my
first letter.
The real code is
select * from GEO_FEATURE
However, I can get the "start db" log, but cannot get "stop db" log.
Can you give me some further suggestin?
Thank you !
黄骞/Huang Qi
Hi
You need to the route to start with a
select * from GEO_FEATURE
eg you can also see this by the examples on the jdbc doc page
http://camel.apache.org/jdbc
On Thu, May 2, 2013 at 10:20 AM, skysw...@gmail.com wrote:
> Hi everyone,
>
> I want to do some search in Oracle 11g
Hi
Yeah I would like to see a json expression language built-in out of
the box in Camel.
This library seems compelling
https://code.google.com/p/json-path/
You can also find some talks about json expression libraries here
http://stackoverflow.com/questions/4849816/is-there-a-java-implementation-
Hi everyone,
I want to do some search in Oracle 11g with the following xml.
select * from GEO_FEATURE
However I got response and no error log, is there any possible reason or
some suggested debug method for me?
Thanks a lot!
Thanks for the hint. I forgot to check that.
I switched now to Camel 2.11.0 but the problem still exists. The behavior is
exactly the same as I already described.
Regards,
Tobias
- Original Message -
> From: "Claus Ibsen"
> To: users@camel.apache.org
> Sent: Thursday, May 2, 2013 7:23:
Hi everyone,
I came across a simple problem and I need some help.
I get a json string from a jms, and I want to get a specific value from the
json string.
how can I do it in blueprint file?
For example, the json from jms queue "FEATURES.JSON" is
{id:"123",
name:"test",
value:"dfsa"}
I want to
49 matches
Mail list logo