You can change the below DSL
//JMS Endpoint
.to(activemq:queue:outputqueue);
to
.inOnly(activemq:queue:outputqueue);
--
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
What's your MarshalProcessor looks like ?
Did you call the marshal method in the DataFormat?
--
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
/InterceptSendToEndpointDefinition.java
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com
/xslt.html
[3]http://camel.apache.org/custom-dataformat.html
--
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)
http://jnn.iteye.com (http
the
URI with netty://tcp:xxx to the construction of NettyEndpoint.
--
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)
http
Hi,
Camel HTTP component just supposed to handle the HTTP transport for you , it
doesn't care about the underlay stream.
If you want to parser the XML, you can try to use JAXB data format[1].
[1]http://camel.apache.org/jaxb.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red
Hi,
Can you check which jetty version are using?
You may need to down grade it.
--
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
twitter4j.properties can to be located in the root of your app's classpath, in
WEB-INF/ directory, or in the process's default directory.
[1]http://twitter4j.org/en/faq.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
I'm not sure if the openejb did some work to load the xerces jar it ships.
--
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
Hi,
As Camel property placeholder supports to lookup the Properties from the bean
reference with the prefix ref:BeanId, I think you just need to add a
reference of the property service in the camel route bundle.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
It looks like you are using different version of camel-core and camel-ftp.
Can you check those jars version in you class path ?
--
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
Can you put the to uri=direct:start after the /split ?
The aggregator should be done after the split.
--
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
/correlationExpression
to
uri=file:F:/EbcConversion/Data/outbox/files/?fileExist=Appendamp;fileName=output.txt
/
/aggregate
/route
--
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
Can you access the service with simple http get request?
For the Exception I look like the client has some trouble to read the message.
--
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
more readable and testable.
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese
Hi,
Here is an example[1][2] that you may take a look.
[1]http://camel.apache.org/spring-security-example.html
[2]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-spring-security/src/main/webapp/WEB-INF/web.xml
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red
The issue may be out of our radar a while, so the patch is not applied into the
code base.
I will spend some time on it when I'm free this week.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi ,
Please see my comments in the below mail.
--
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)
http://jnn.iteye.com (http
property to route the message to the right route
which is set with the right data formate.
[1]http://camel.apache.org/content-based-router.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
http component provides this kind
of feature yet.
--
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)
http://jnn.iteye.com (http
It should be fixed with CAMEL-6020[1] recently.
Please feel free to verify it with last Camel 2.10.x SNAPSHOT
[1]https://issues.apache.org/jira/browse/CAMEL-6020
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi Aki,
The stream is supposed to be read once. If you want to read it twice, you need
to call the reset method. In camel we have an intercepter which will call the
reset method before routing the exchange to the other endpoint if you enable
the stream cache feature.
发自我的 iPhone
在
Hi,
I just have a quick question:
Does the camel route can only consume one message ?
Or it just ignore the second message which is just follow by the first message.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog
No, if you are just chain the processor together, for one exchange it will be
processed one by one.
But if you have multiple exchanges, they can be processed concurrently.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
No, you don't need to use cxf-http-jetty module if you just want to the servlet
transport.
CXF modules has no hard dependency of the geronimo servlet.
but CXF leverages the async invocation feature of servlet 3.0, you may need to
check if the WebSphere supports it.
--
Willem Jiang
Red Hat
How did you load the camel context?
It looks like you just load the camel context from the CXF servlet.
--
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
Did you copy the in message body to the out message?
Please do it to let camel-cxf generate the right invocation message for you.
--
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
I'm afraid you need to include the cxf.xml import this time.
BTW, you could exclude the dependency of cxf-rt-transport-http-jetty module,
then the geronimo servlet api jar will be wrapped into the war.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
(Header.HEADER_LIST, soapHeaders);
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter
${bouncycastle-version}/version
/dependency
The version is 1.47.
I also checked the website[1], it doesn't has the release of
bcprov-jdk16-xxx.jar.
Can you try to put that on in your lib/ext directly.
[1]http://www.bouncycastle.org/latest_releases.html
--
Willem Jiang
Red Hat, Inc
It could be more safe to put the state into the exchange property, as the
message header will be override or lost through the processors.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Yeah, you can do it by setting up a customer interceptor on the CXF endpoint.
--
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
Processor are supposed to be executed concurrently.
You can managed the threads[1] in camel route, and there are some other camel
components (like camel-jms, camel-cxf) have their own thread pool.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com
You can use the direct endpoint to chain these processor like this
from(direct:start).processor(processor1).processor(processor2)…
--
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
If you can mount the remote file system to you local file system, I don't think
you will have some trouble to the job.
--
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
+1 for the micro-branch for the camel-scala, and we can do the release it after
major release of camel.
--
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
Can you share us your camel route? It is important for us to find out the key
reason of your issue.
发自我的 iPhone
在 2013-1-26,上午5:22,Chris Wolf cwolf.a...@gmail.com 写道:
On Fri, Jan 25, 2013 at 3:55 PM, Chris Wolf cwolf.a...@gmail.com wrote:
I ask because when I use jpa: in producer mode, I
running a whole unit tests with my change.
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com
the reference of
camel servlet, and create the route builder with Java code.
--
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)
http
Hi Charles,
It was a part of camel-cxf wiki page. Please do a double check out it[1]
[1]http://camel.apache.org/cxf.html#CXF-HowtothrowaSOAPFaultfromCamel
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
the benefit to use setFault(true)
On Tue, Jan 22, 2013 at 8:37 AM, Willem jiang willem.ji...@gmail.comwrote:
Hi Charles,
Setting the Fault message could avoid the ErrorHandler retry action in the
camel route.
As the exception will be intercepted by the ErrorHandler by default.
Fault
to setup an customer fault message to the camel-cxf consumer,
Please take a look at example here[1].
[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
--
Willem Jiang
Red Hat, Inc.
FuseSource
Hi Charles,
Setting the Fault message could avoid the ErrorHandler retry action in the
camel route.
As the exception will be intercepted by the ErrorHandler by default.
Fault message means you don't want to camel error handler to kick in.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part
ProducerTemplate[1].
[1]http://camel.apache.org/producertemplate.html
--
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)
http
, it is make sense that you
got the log as below even the CxfBinding is set with ISGCxfBinding.
Can you just write some test to verify the setting ?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi
You can override the DefaultCxfBinding by configure it in your camel-cxf URI
with the option cxfBinding=#bindingName.
You need to bind the instance of the ISGCxfBinding with the name of bindingName.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
by call the below method
BusFactory.setDefaultBus(null);
--
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)
http://jnn.iteye.com (http
the chain of CXF Interceptors ?
On Wed, Jan 16, 2013 at 2:48 PM, Willem jiang willem.ji...@gmail.comwrote:
BusFactory.setDefaultBus(null);
--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
, I'd like to suggest we only support Camel
2.11.x when we doing the Camel 3.0.0 development.
--
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
Hi,
I need to see the full picture of issue.
Please show use the camel route which will use the processor you have.
As I have suggested in the CAMEL-5966, you should be able to do it within the
CXF Message.
[1]https://issues.apache.org/jira/browse/CAMEL-5966
--
Willem Jiang
Red Hat, Inc
Just a quick note, camel will lookup some files in the META-INF/ to pick the
components, converters and data formats.
If you just build a big jar, you need to merge the META-INF files yourself,
otherwise you will hit some strange issue there.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now
Interceptor will
pass the request for further processing.
--
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)
http://jnn.iteye.com (http
/tra:getCustomerByName
/soapenv:Body
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com
+1 for the refactoring of camel-cxf in Camel 3.0.
I think we could put the camel-cxf-transport into CXF, as it is mainly used for
CXF.
And the component just have the dependency of camel-core.
For the other cxf-x components we may do some clean up work at the same time.
--
Willem Jiang
Red
I can take care of the document. It looks like we need to do a clean up before
release Camel 2.11.0.
--
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
/
/camelcxf:outInterceptors
camelcxf:inInterceptors
ref component-id=loggingInInterceptor/
/camelcxf:inInterceptors
/camelcxf:cxfEndpoint
--
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
You just need to start the ProducerTemplate, you don't need to start the camel
context as it is already started.
Can you check the camel log to see if there is any information shows what's the
cause exception?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
I just recheck the code, the camel context is bind with the variable name of
camelContext.
--
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
You should be able to get the cause Exception from the log. That is what I'm
asking for.
Can you check the log below the exception that you just showed?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi,
It looks like the URL you want to access need you to login first.
Can you double check it?
--
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
I just checked the camel-script code, it will bind the camel context within the
script context.
But it should be more easy to write a custom bean[1] and inject the camel
context to it, then you can get full control of it.
[1]http://camel.apache.org/bean.html
--
Willem Jiang
Red Hat, Inc
Oh, you need to start the template before using it to send the request.
--
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)
http
of it.
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
customer bean, so
you can get full control of message header , body and the Camel Endpoint URI at
same time.
[1]https://camel.apache.org/producertemplate.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Can you check if the files are pulled already?
If there is no new file to be pulled, the stream:out will not print any things
out.
--
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
), the other is used for the
physical view (transport level, sending or receiving the Stream).
--
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
want.
You can change the invocation parameters in the first route as usual.
--
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)
http
Willem
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
, you don't need
to set the message body.
Otherwise the camel-http producer will try to turn the message body into a
output stream for you.
These could explain that when you set the message body to be a empty string,
the route works for you.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now
Hi Lars,
Current you have to use Spring to configure the camel transport for the CXF
client, if you want to do it with pure Java you have to manage the CXF Bus
yourself.
I will try to write an example to show you how to do it with pure Java, when I
get some time later today.
--
Willem
/org/apache/camel/component/cxf/transport/JaxWSCamelTestSupport.java
--
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)
http
into the WebSocketEndpoint. As current Camel
WebSocket doesn't expose the API, you need to hack the code to pass the
reference.
--
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
Hi,
What's you sql looks like?
Did you need to change it dynamically?
camel-sql support to use the query from message header with CamelSqlQuery
which you can change the value dynamically.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http
How did you access the PAYLOAD message in your manipulator bean?
I think it should be easy to do some transformation there.
--
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
Hi
What data format are you using with you camel cxf endpoint.
As you just want to change one field. It could be more easy for you to use the
POJO data format.
发自我的 iPhone
在 2013-1-3,上午8:02,jipchix m_...@yahoo.com 写道:
Hi - I'm new to Camel and Spring. I'm using Camel in ServiceMix.
For my
Hi,
It looks something is wrong with you host name. Can you just change it?
Willem
在 2012-12-30,下午11:45,Tim Dudgeon tdudgeon...@gmail.com 写道:
I'm seeing a strange error when starting a camel context. Its dependent on
the machine I'm running on. On one machine (Windows) the same context
Hi Raul
The cxfrs component only hit the final resource. As camel don't know what to do
sub resource.
You can find the code in the performInvocation method of the CxfRsInvoker.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http
As the MessageContentsList is put into the message body.
+1 to put the invocation context into the map and put the map into the message
header.
But I'm not sure if it is useful if camel-cxfrs delegate the sub resource
locator work out side.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now
Hi
I just checked the MailProducer, it doesn't store the Message Id to the camel
message header.
So you cannot access the message header here.
I just fill a JIRA[1], and will commit a quick fix for it.
[1]https://issues.apache.org/jira/browse/CAMEL-5910
--
Willem Jiang
Red Hat, Inc
/camel/trunk/examples/camel-example-spring-jms
--
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)
http://jnn.iteye.com (http
, camel will send the pull request
to google.com.
You should be able to configure file name by checking out the file endpoint
options here[2]
[1]http://camel.apache.org/http.html#HTTP-Samplewithscheduledpoll
[2]http://camel.apache.org/file2.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part
If A, B, C, D are not related to each other and you don't need to add more
control on the consumers, I don't think you need to use camel at all, you can
just use quartz directly to do your job.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com
]http://camel.apache.org/cxf.html
--
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)
http://jnn.iteye.com (http://jnn.javaeye.com
No, I'm afraid you need to provide the exchange for the expression.
--
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)
http
Hi,
You can specify the mapping file with file protocol like
file:///home/my/mappingfile.
camel-beanio will load that file for your.
--
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
You are using different version of camel-http and camel-core together.
Can you check why the camel-http-2.4.0 is used with camel-core-2.9.0 ?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Please don't use the parallelProcessing.
As you know spring is using thread local to store the information of
transaction, parallelProcessing will cause some trouble to let camel know the
states of transaction.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
That's it,
If you want to debug the unit test, you may consider to add Thread.sleep(xxx)
to make the unit test wait for you. Otherwise, camel context will be shutdown
when the test is finished.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com
I don't think camel-sql component support to get the value form message header.
You may consider to use recipientList[1] to send the message to the endpoint
which uri is generated dynamically.
[1]http://camel.apache.org/recipient-list.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now
I think you can send the query request by using camel producer template[1] in
your servlet.
The camel route can help you with your business without care much about build
up right response for the client.
[1]http://camel.apache.org/producertemplate.html
--
Willem Jiang
Red Hat, Inc
We may need to take a look at your route.
From the exception I can tell is throw from JmsConsumer, I don't think it is
related to the Recipient List.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
It looks like the Rest Server close the connection before the client wants to
send the request again.
Maybe you should check the restful web service connection which you called from
camel is still open for the client to use.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
You need to add the dependencies of camel-http and camel-servlet into your
project.
--
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
Hi, as you are just want to pulling the request from google not provide the
http service like servlet://www.google.com (http://www.google.com). you should
use the http component instead of servlet.
Please change the route to
from(http://www.google.com;).xxx
--
Willem Jiang
Red Hat, Inc
on it to control the time of each pull.
Maybe you can consider to use quartz to start and stop the camel route which
pulls the files from FTP.
--
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
Which version of CXF are you using?
I just googled a while, and found an interesting entry[1]
Did you use Open JDK in your Ubuntu?
[1]http://stackoverflow.com/questions/12562371/can-xjc-version-be-trusted
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
of cafe-example[2][3], it shows
you an example on how to write tests with came the routes.
[1]http://camel.apache.org/direct.html
[2]http://camel.apache.org/cafe-example.html
[3]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-cafe
--
Willem Jiang
Red Hat, Inc.
FuseSource
a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-5893
--
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)
http
Hi,
You can find the example of camel-servlet[1] if you are using spring.
[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web-spring.xml
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
Yeah, it could work, but we still need to deal with the injecter which is not
using the Spring.
So I think using the Camel Property could be one stop shop solution.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog
1001 - 1100 of 2970 matches
Mail list logo