On Fri, Oct 26, 2012 at 4:23 PM, ddelizia wrote:
> At the end was a problem of my configuration I had to set
> &passiveMode=true&binary=true. That was detected automatically with
> filezilla but not with camel.
>
Thanks for sharing your solution.
> Thanks anyway
>
>
>
> --
> View this message i
Hi
See these links also
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
http://camel.apache.org/pipes-and-filters.html
http://camel.apache.org/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html
http://camel.apache.org/stream-caching.html
On Fri, Oct 26, 2012
I just wrote a test and verified I can set the timeout value on the second cxf
endpoint without any trouble.
What's the error did you get?
BTW, you should get the socket read time out as you set the receive time out to
1 mill second.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Re
I am still having that problem.I had removed responseContext,RequestContext
from the inMessage and added a requestContext with a new ClientPolicy .Do i
to remove any other headers?
below is the code snippet
exchange.getIn().removeHeader(Client.RESPONSE_CONTEXT);
exchange.getIn().removeHeader(Cli
Hi Willem,
Thanks for sharing the information. I have two webservices call in a camel
route. I am noticing that the timeout i have set for the first call is being
used for the second web service call. even though i have changed the timeout
in 3 step to less than the default timeout it is always ta
Hi,
It dependents on how you setup the client request context header.
You may need to clean up the header if you don't want to the setting affect the
next camel-cxf producer.
By default camel-cxf endpoint will copy the message headers from the in message
to the out message,
which means the cl
Also i dont have any default configuration. so the first time i set the
timeout it will remain as my default timeout for all the endpoints?
bean(mapper,"changeTimeOut")
to(cxf://webservice1)
bean(mapper,"changeTimeOut")
to(cxf://webservice2)
I noticed that webservice2 is using the timeout value
Hi Ravi,
The default connection timeout is 3(ms), default receive timeout is
6(ms).
You can find more information here[1]
And you can change the default setting like this[2]
[1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLs
Do you use the same file to process on linux?
As you know the file in windows, the line is separate with "\r\n", in linux it
ends with "\n"[1].
Can you try to process the file with dos2unix before using camel to process it?
[1]http://www.cs.toronto.edu/~krueger/csc209h/tut/line-endings.html
--
Hi,
Camel has camel-scala[1] component which can help you to define the route with
Scala since 2008.
I just updated most EIP DSL of camel-scala which latest Camel Core Java API.
I think you should be able to use them without any trouble.
As there is few people use camel-scala, it could good yo
Hi All,
I have the following Camel route:
java.lang.Exception
true
Oh, there is a thing I didn't point out , when we set the time out value on
through the message header, CXF will do a merge with the default configuration
and take the min one.
So it could be better you setup a big time out value on the default.
--
Willem Jiang
Red Hat, Inc.
FuseSource is no
Camel Users,
As part of a integration project which is already using Apache Camel as the
routing engine with the routes deployed as OSGi bundles in the ServiceMix
container, I would like to know if I can use henceforth Scala as the JVM
language to write my routes? Does Camel supports a fully featu
Hi Willem,
I was able to set the timeout Dynamically FirstTime. But when i tried change
the client policy somwhere in my route its not picking up the new value.
is this the expected behaviour?
Tanks
Ravi
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Timeout-on-a-r
Hi,
I am using camel-CXF component.I am suspecting that the request context is
being cached somewhere in the cxf/camel code thats the reason new timeout
value is not honored.
can you please provide a solution for this?
Thanks
Ravi
--
View this message in context:
http://camel.465427.n5.nabbl
ok, i will do that. thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-question-deleting-files-tp5721667p5721680.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for those explanation.
Everything is clear and works now.
Regards,
Cyril Lakech
2012/10/28 Christian Mueller [via Camel] <
ml-node+s465427n5721655...@n5.nabble.com>
> Or convert the body into a String before you log and further process it.
> And the response of the http4 call is in the
There is no build in support.
I suggest something like this:
${...}
...
And in your fileDeleter bean you can access the header fileName to retrieve
the file name and use org.apache.camel.util.FileUtil (or a similar utillity
class from commons-io) to delete the file.
Best,
Christian
Thanks for the reply. The message queue is a good idea but obviously it will
take a little more work on the scheduler side to implement, not sure if I
can get the help from that side in order to do it. I will consider this as
the "proper" approach to be implemented in the future :)
But also, many
For various reasons it's not practical to use quartz etc to schedule my
routes, all the scheduling must be done using the corporate scheduler. I
have searched the forums and it seems all scheduler discussion is based on
the built-in quartz/cron etc.
Anyway my idea to integrate with the external sc
Using camel 2.10, spring xml.
I am wondering if there is a simple way to delete files arbitrarily during
my route. I saw a post from a couple years back that said there wasn't any
way to do it, and still I don't see any built-in way to do it, so I guess I
can create a bean to do it. But what's the
Unfortunatly there is a bug in mongo java driver. User and password given
in URI are not used by MongoURI object.
See https://jira.mongodb.org/browse/JAVA-436#comment-179882
I am seaking for a workaround.
Sorry for the lag in my reponse. Coding is more a hobby than my work right
now :(
On Wed,
thanks for your suggestion! How exactly do I go about to look up the
CamelContext from the Spring ApplicationContext? Was that how you got it to
wotk as well?
I use Spring 3.0.6, Java 1.7.0_07, Tomcat 6.0.32, Camel 2.10.2
--
View this message in context:
http://camel.465427.n5.nabble.com/Sprin
23 matches
Mail list logo