Although Claus is one of the authors I just wanted to give an unbiased
confirmation that the camel in action book is a particularly good resource
because it is written by people like Claus, active members of the Camel
community. There are good usage examples and it is written in a way that no
m
On Thu, Dec 6, 2012 at 8:46 AM, helmut.at.work wrote:
> As explained in the thread above, I need a correlation to the route in the
> GenericFileFilter.
> You show me the way to set a property in the GenericFileFilter class with
> spring.
> For Java DSL I set this property with help of the constru
Hi
Welcome to the community.
You just need time and being eager to try out Camel in practice on your own.
I suggest to read these article first, to get an overall understanding,
http://java.dzone.com/articles/open-source-integration-apache
http://www.kai-waehner.de/blog/2012/05/04/apache-camel-t
OK, I think we have to introduce camel-api module if we want to reduce the
duplication of the TestSupport in the feature.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willem
On Thu, Dec 6, 2012 at 2:02 AM, Willem jiang wrote:
> Hi,
> First you should use the CamelTestSupport instead of ContextTestSupport in
> you test case.
>
> Because CamelTestSupport is in the camel-core-test.jar. If you use it you
> will introduce a very big test jar, and you just want to use sma
Hi
Need to see the nabble link for the mail.
No its not illegal. The police will not come and arrest you :)
You would need to start the consumer if it should consume messages
from the seda queue.
Though people often uses a route to define that, instead of the more
verbose java code.
On Wed, D
On Wed, Dec 5, 2012 at 10:41 PM, Scott England-Sullivan
wrote:
> The following should allow you to see both:
>
>
> from("servlet:///proxyWebService/api/?matchOnUriPrefix=true")
> .log("Request message: ${body}")
>
>
> .to("https4://realWebService:8443/api/?bridgeEndpoint=true&throwException
On Wed, Dec 5, 2012 at 4:47 PM, helmut.at.work wrote:
> Sorry I'm a bit stupid today.
> Of course I can set the property with a constructor like this:
>
>
> Are there additional methods to set the properties?
>
What do you mean? Set properties on what?
> Regards Helmut
>
>
>
> --
> View this mes
Ok, and how can I access to a property value, from java code?
--
View this message in context:
http://camel.465427.n5.nabble.com/Properties-in-Java-DSL-tp3242156p5723683.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
The SEDA just give you a chance to handle the exchange to other thread, so you
can keep feeding the message to the camel route without waiting for the
processing.
If you want to make sure the message to be taken from when it is processing,
you can use the direct endpoint to chain the routes t
Hi,
We are going to use SEDA for some parallel task execution. We use
Camel 2.10.2.
The problem with Seda is that it empties the queue even if there are
1000 messages in it. And if we decide to stop the router or the
program, we'll lose all messages, which i
Hi,
First you should use the CamelTestSupport instead of ContextTestSupport in you
test case.
Because CamelTestSupport is in the camel-core-test.jar. If you use it you will
introduce a very big test jar, and you just want to use small part of
it.Normally, we suggest use to use the CamelTestSupp
Hi Mike
Sorry, I made a typo on my last mail.
The message which you get from the queue is not the exactly same one you send
to the queue.
So the change on the original message headers will *not* effect the message
which you get from queue.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now pa
Hello guys,
I have a problem with XML deserialization to POJO class in a java bean,
used in Camel route.
The problem is following exception, when such route is invoked:
java.lang.NoClassDefFoundError:
com/fasterxml/jackson/databind/deser/std/DelegatingDeserializer
I have installed all needed Jack
The following should allow you to see both:
from("servlet:///proxyWebService/api/?matchOnUriPrefix=true")
.log("Request message: ${body}")
.to("https4://realWebService:8443/api/?bridgeEndpoint=true&throwExceptionOnFailure=false")
.log("Response message: ${body}");
Hope this helps.
Two comments:
One, the ActiveMQ Camel Component wraps the connection factory in an
ActiveMQ PooledConnectionFactory. My first reaction would be that this
would produce a less than predictable result. Both the AMQ PCF and the
Spring CCF are trying to manage pools and sessions. Very unpredictable
Sorry for the delayed response. My inbox is a bit full...
I set up the following test with Camel 2.10.2:
public class CamelActiveMQTopicPerformanceTest extends CamelTestSupport {
private int counter = 1000;
private BrokerService broker;
@Before
public void setUp() throws Excepti
It works also with the following configuration:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http
Do you work on an unit test to demonstrate the issue? I will avoid double
work...
Best,
Christian
On Tue, Dec 4, 2012 at 6:43 AM, prashanth141443 wrote:
> version and
are you using blueprint?
in that case, you need the pax-url-classpath bundle.
org.ops4j.pax.url/pax-url-classpath
regards, aki
2012/12/3 ucrkarthik :
> Hi Williem,
>
> I have the following code cxf-endpoint defined and I get the same error.
> http://test.com/fileExchange/query/v1";
>
If I understand right, than bundle A will contain the WSDL file and the
generated classes. Bundle B contains your Camel route where you refer to
the WSDL file, right?
If this is the case (it works for me), make sure you also export the
package where your WSDL file is located (e.g. META-INF.wsdl.int
Hello,
I`m using Camel ver. 2.10.1 and my route is not started when I use
AdviceWith within RouteBuilder.
Here is my context:
...
...
// some CXFRS calls...
and route builder java code:
public class RouteBuilder extends org.apache.c
Hi,
Can someone give an answer about the difference between the 2 ?
Or a link to the documented page.
I have been having problems with my testing and I started looking into
camel-core source code to learn with the tests done there, and all I see is
ContextTestSupport.
Why should I be using Camel
Hello
I am new here,
I have a case where I want to listen and pull files from sftp server and
split the returned content (| separated values). the content comes clean at
first "1|123456S|OMR|vaccTyp|vsolID|A|C|1607|1557" then it changes to
"-rw-rw-rw 1 root root43 Dec 5 10:46
Thanks Willem. So, even when the message is sent to two different queues,
there's only one copy of the message headers per message?
Thanks,
Mike
On Wed, Dec 5, 2012 at 1:34 AM, Willem jiang wrote:
> Hi
>
> When the message send to the queue, it will marshaled as a stream.
> And you will get a
Can you change the port?
It looks like the Jetty server can not use the port of 1102?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
As per the example we are able to simulate in the same JVM,but we are not not
able to simulate in external JVM.
*Error:*
FAILED SelectChannelConnector@0.0.0.0:1102 FAILED: java.net.BindException:
Cannot assign requested address: bind
It is not able to connect to external IP Address.
What modific
Hello
I am new here,
I have a case where I want to listen and pull files from sftp server and
split the returned content (| separated values). the content comes clean at
first "1|123456S|OMR|vaccTyp|vsolID|A|C|1607|1557" then it changes to
"-rw-rw-rw 1 root root43 Dec 5 10:46
Hello
I am new here,
I have a case where I want to listen and pull files from sftp server and
split the returned content (| separated values). the content comes clean at
first "1|123456S|OMR|vaccTyp|vsolID|A|C|1607|1557" then it changes to
"-rw-rw-rw 1 root root43 Dec 5 10:46 A
Hello Claus!
Now we solved it. We have used a customized poll strategy and therefore the
option maximumReconnectAttempts
and reconnectDelay respectively were without effect. We could make the
reconnect work by restart the consumer
in the poll strategy implementation's rollback() method:
publi
Hi
Well spotted. I have logged a ticket to get this fixed
https://issues.apache.org/jira/browse/CAMEL-5848
On Tue, Dec 4, 2012 at 4:46 PM, yxzhao wrote:
> Hi All,
>
> We have a route to get a set of files being processed together, that are
> prepared by different processes asynchronously. In ord
31 matches
Mail list logo