public class Test extends RouteBuilder {
private volatile String tag = null;
@Override
public void configure() throws Exception {
from(http://url/a.csv;)
.filter(header(Tag).isNotNull())
On Mon, Jun 4, 2012 at 7:33 AM, addict ersubodhgu...@yahoo.com wrote:
public class Test extends RouteBuilder {
private volatile String tag = null;
@Override
public void configure() throws Exception {
from(http://url/a.csv;)
Hi Claus
I don't think this actually works in 2.9.1. See attatched project and how to
make it work using spring
http://camel.465427.n5.nabble.com/file/n5713926/props.zip props.zip
/Preben
--
View this message in context:
i passed from camel 2.2.0 to 2.8.4 and from cxf 2.4.6 to 2.2.9.
my wsdl is (i cut it a little):
?xml version='1.0' encoding='UTF-8'?
wsdl:definitions name=wsEdition
targetNamespace= xmlns:ns1=http://cxf.apache.org/bindings/xformat;
Hi
Ah this is more complicated. Can you log a JIRA for an improvement and
schedule it for 2.11.
On Mon, Jun 4, 2012 at 9:43 AM, Preben.Asmussen p...@dr.dk wrote:
Hi Claus
I don't think this actually works in 2.9.1. See attatched project and how to
make it work using spring
Nice - logged https://issues.apache.org/jira/browse/CAMEL-5328 as an
improvement
/Preben
--
View this message in context:
http://camel.465427.n5.nabble.com/Support-for-nested-properties-in-propertyplaceholder-tp5713905p5713931.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hey Claus,
Thanks for the link.
I was going through this link : http://www.apache.org/dyn/closer.cgi
And apparently the mirrors only serve the last 3 versions.
Thanks again.
rgds,
Dominique.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-6-0-tp5713783p5713932.html
Hey Willem,
I'm using Camel 2.6 (we cannot upgrade from Java 5) and I'm having issues
with the Servlet component.
I'm getting the following exception:
2012-jun-04 10:53:26 org.springframework.web.context.ContextLoader
initWebApplicationContext
ALLVARLIG: Context initialization failed
That's the good thing in Maven. Maven never forgets anything... ;-) [1]
[1]
http://search.maven.org/#artifactdetails|org.apache.camel|apache-camel|2.6.0|pom
Best,
Christian
On Mon, Jun 4, 2012 at 10:50 AM, domiko dominique.kong...@gmail.com wrote:
Hey Claus,
Thanks for the link.
I was
Hi,
I defined a simple route with camel-cxf :
from(cxf:bean:myCXFEndpoint)
.process(preProcessor_)
When having an exception I have two logs (one from camel one from cxf).
Now, i want to add an exception handling (to avoid the camel log and do
some processing for the exception).
for
Hi, i finally find the option needed :
onException(Exception.class)
.handled(false)
.setExchangePattern(ExchangePattern.InOnly)
.to(vm:dead-letter);
from(cxf:bean:myCXFEndpoint)
.errorHandler(defaultErrorHandler().logHandled(false).logStackTrace(false).logExhausted(false))
Hi Christian,
Willem's suggestion is correct. I have implemented your use case in the
past and found sing the OSGi HTTP Service to deploy CXF WS instances to
restrictive. Using Camel to act as the HTTP Proxy to the Beans or Services
offers far more flexibility.
In addition to being able to
Hi
I was looking over the Amazon SQS component from
http://camel.apache.org/aws-sqs.html
I was successful in creating a simple route based on the documentation. But
I am little confused about some configuration parameters which are mandatory
or not.
I have the access key and secret key from
Trying to use a custom replyManagerExecutorService (defined as a
threadPoolProfile in the camel context) for request/reply as follows:
At startup, I get this error:
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
As you are using Spring to load the configure, it cann't tell if the
camel transport servlet is started or not If you are using camel 2.6.0.
I'm afraid you need to upgrade the camel version, or just back port the
camel-servlet part to camel 2.6.0.
On Mon Jun 4 17:08:50 2012, domiko wrote:
James I use camel ftp2 all the time, but I’ve never had to do the double user
login. Have you?
From: James Carman [via Camel] [mailto:ml-node+s465427n5713832...@n5.nabble.com]
Sent: Saturday, June 02, 2012 3:14 AM
To: Billy Buzzard
Subject: Re: How can FTP Component connect to FTP Server via
Hi
Which version of Camel do you use? I assume you ran that logic directly
using the trunk code, right?
At least for the upcomming 2.10 you can't make use of the
replyManagerExecutorService option anymore as it has been removed, see:
https://issues.apache.org/jira/browse/CAMEL-5309
I assume
We are on Camel 2.6.
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-set-replyManagerExecutorService-on-jms-endpoint-tp5713949p5713955.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Just realized that there WAS / IS NEVER a setter method available for that
property (replyManagerExecutorService) so no wonder why it doesn't work for
you.
This option should be definitely removed from the documentation which I will
do later today in case nobody shouts out.
Babak
--
View this
Nevermind my question.
A similar question was asked earlier ...
http://camel.465427.n5.nabble.com/Camel-and-Tomcat-td3386793.html
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-CamelHttpTransportServlet-tp4832859p5713950.html
Sent from the Camel - Users mailing list
Its working.
Changed exchange.getIn().setHeader(country, US);
to exchange.getOut().setHeader(country, US);
Thanks,
Deepthi
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713959.html
Sent from the Camel - Users mailing list archive at
Yes Claus, when the routes execute for the first time tag will be null,
however any subsequent time tag will be having the string value assigned to
it (provided header has attribute tag which is having != null value, which
is the case with us).
However on debugging i could see on each invocation
Apache mirrors only serve actively supported versions.
Hadrian
On 06/04/2012 04:50 AM, domiko wrote:
Hey Claus,
Thanks for the link.
I was going through this link : http://www.apache.org/dyn/closer.cgi
And apparently the mirrors only serve the last 3 versions.
Thanks again.
rgds,
Dominique.
On Mon, Jun 4, 2012 at 5:31 PM, addict ersubodhgu...@yahoo.com wrote:
Yes Claus, when the routes execute for the first time tag will be null,
however any subsequent time tag will be having the string value assigned to
it (provided header has attribute tag which is having != null value, which
I deployed my camel war to tomcat, but Jetty can started too inside tomcat.
Any idea?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-activemq-and-Tomcat-Jetty-running-inside-Tomcat-tp5713963.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Jun 4, 2012 at 6:14 PM, semecamel diata.ke...@gmail.com wrote:
I deployed my camel war to tomcat, but Jetty can started too inside tomcat.
Any idea?
Hi
Please spend more time to write more detailed mails when asking for help.
Writing one line of text is not giving much detail.
Read
Hey Willem,
I've used a Spring DispatcherServlet to load the context specifying the
appropriate load-on-startup order.
Good news:
My CamelServlet now works and my CamelContext loads fine
Bad news:
My CXFServlet for SOAP services doesn't work anymore, it thinks it's loaded
outside an
We use Camel 2.4.0 to hide infrastructure. So camel sends an InvocationBean
over JMS.
When an exception is raised we want to enrich the message on the DLQ with
information about the exception being raised.
To do this we configure an onException in spring xml.
If we do nothing in this
I need to verify my understanding of the ThrottlingInflightRoutePolicy. I
have the following policy and route defined:
bean id=myPolicy
class=org.apache.camel.impl.ThrottlingInflightRoutePolicy
property name=scope value=Route/
property name=maxInflightExchanges value=1000/
AHAAA!!! Stupid mistake.
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-Java-DSL-filter-tp5713922p5713968.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Jun 4, 2012 at 7:23 PM, gramanero graman...@gmail.com wrote:
I need to verify my understanding of the ThrottlingInflightRoutePolicy. I
have the following policy and route defined:
bean id=myPolicy
class=org.apache.camel.impl.ThrottlingInflightRoutePolicy
property name=scope
Awesome :)
On Mon, Jun 4, 2012 at 10:42 AM, Deepthi deepthi...@gmail.com wrote:
Its working.
Changed exchange.getIn().setHeader(country, US);
to exchange.getOut().setHeader(country, US);
Thanks,
Deepthi
--
View this message in context:
Perfect. Thank you Claus! Your quick response is very much appreciated.
--
View this message in context:
http://camel.465427.n5.nabble.com/ThrottlingInflightRoutePolicy-tp5713970p5713973.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I did remove that option from the documentation.
Nevertheless feel free to open a JIRA in case you've got a concrete use case
for this customization.
Babak
--
View this message in context:
Could you upgrade to a newer (and still supported) version of Camel and
check whther this issue still exists? Camel 2.4 was released almost 2 years
ago and isn't supported anymore.
Best,
Christian
Sent from a mobile device
Am 04.06.2012 18:45 schrieb anoordover anoordo...@live.nl:
We use Camel
I'm wondering if there are any sort of best practices or pros/cons to using
either the dead letter queue or transactions when errors occur while pulling
off messages from a queue and attempting to route them to a cxfrs endpoint
that may not be available.
For example, say I have the following
I was expecting this reaction.
It doesn't matter.
I've found a solution:
I've made a processor which sets the data on the out of the exchange.
--
View this message in context:
http://camel.465427.n5.nabble.com/Enriching-BeanInvocation-gives-null-body-tp5713967p5713994.html
Sent from the Camel -
Your endpoint configuration looks good.
Must something wrong with your credentials or firewall...
You could try to run the integration test at [1] with your credentials and
see whether it works. And make sure your accessKey or privateKey doesn't
contain character you has to escape in your endpoint
If you should not loose messages, you should use a transacted route and
leverage on the ActiveMQ redelivery capabilities [1].
[1] http://activemq.apache.org/redelivery-policy.html
Best,
Christian
On Mon, Jun 4, 2012 at 9:51 PM, gramanero graman...@gmail.com wrote:
I'm wondering if there are
Hi Folks,
I am using SQL component and trying to insert a message in database.
My route:
=
route id=dtcc-routet
from uri=dtcc-MQ:queue:LQ_TEST?transacted=true/
process ref=dtccProcessor/
to
40 matches
Mail list logo