Hi,
I just had a quick look of the code and confirmed it's a bug.
I will commit a quick fix for it shortly.
--
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
.
If you disable the streamCache it doesn't affect it, but you may consider to
disable cache the stream into file as the default size is 64K.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Maybe we can add an option in sendTo DSL, to let it restore the original
Exchange if the option is enabled.
Please feel free to fill a JIRA for it, if you like you can share us with the
solution you have.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
Which version of Spring are you using?
How did you use PersistenceContext?
Maybe the class that you want to inject the EntityManager is not managed by
Spring.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
pollEnrich doesn't use any data of the current exchange, which means the
setHeader doesn't take effect on pollEnrich.
I think you should check the message body, if it is null then set the message
header with the response code you want.
--
Willem Jiang
Red Hat, Inc.
FuseSource i
Hi,
When you using sendTo expression, the exchange will be processed, so the
original exchange will be processed.
If you need to use the original message body again, you need to resort it
yourself.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
Yeah, you need to use the block to avoid this issue.
--
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
Thanks for sharing this with us :)
--
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
Checking the cookies header could help us find out the reason.
BTW, I think Camel will cache the HttpEndpoint for sending the message, I'm not
sure if it can cause some trouble here.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com |
Hi,
I think it is make sense to treat the installation as a chat room, then you can
let the application and device talk to each other.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi Lalit,
camel-cxf will copy the message header (soapaction) to the http header
automatically. camel-cxf just treats the header as part of HTTP protocol header.
All you need to do is set the message header before sending the message to the
camel-cxf producer.
--
Willem Jiang
Red Hat, Inc
You need to specify the wsdlUrl attribute in the cxfEndpoint element.
发自我的 iPhone
在 2013-6-12,下午3:18,lmanchanda75 写道:
> Hi Experts,
>
> I am writing a PAYLOAD mode client and for the same I have defined following
> blueprint:
>
>
>
>
> http://www.osgi.org/xmlns/blueprint/v1.0.0";
>
which version of Karaf are you using? It looks like a Karaf issue.
I don't think camel's change will cause this issue.
发自我的 iPhone
在 2013-6-12,上午1:51,Martin Stiborský 写道:
> It's been a while but now I had some time to investigate this problem again.
> I think I have found the problem.
> It's ca
Hi,
How did you deploy the servlet?
If you are using the camel-servelt you just need to use the relative path not
use the full path.
Please check the document in the camel-servlet[1] for more information.
[1]http://camel.apache.org/servlet.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is
Hi,
I just found you didn't specify the wsdlURL or serviceClass attributes in you
CxfEndpoint element.
They are useful when CXF is trying to build up ServiceModel for handling the
request and response.
Can you add either one of them to your CxfEndpoint definition?
--
Willem Jiang
Re
]http://javaevangelist.blogspot.com/2011/12/java-tip-of-day-generic-jaxb-map-v.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.itey
I don't know which version of camel you are using.
But you can try to use class
org.apache.camel.component.bean.DefaultParameterMappingStrategy
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Where did you call the exchange.getOut() ?
--
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
Hi,
Please don't send the same question into two different users mailing list.
I already answer you question in the cxf users mailing list.
The answer is you the response should be wrapped with soap envelope.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web:
If you don't use APM, can your camel context be started rightly?
It looks like you are missing the definition of
CamelBeanParameterMappingStrategy somewhere.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Camel and CXF support Blueprint which can do the same thing as Spring does.
Did you have a chance to try it?
发自我的 iPhone
在 2013-6-3,下午6:59,Jose 写道:
> Hi, I am trying to use Camel without Spring and I am wondering if there are
> some limitations. I guess the configuration would be more complic
Hi,
I'm not sure if setting the dummy implementation of X509HostnameVerifier can
resolve the issue.
Can you try it to see if it work?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspo
Hi,
There are lots of http related components can provide the https connection, it
could be helpful if you can tell us which http component you are using.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
It could save me some time if you can provide a simple test case for 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
From the stack trace I can tell there are something when camel-cxf wants to
read the content from CXF message.
Can you show me the whole Camel route and your camel version?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Hi
It's a known issue, CXF jms transport doesn't support the asynchronous
invocation well.
发自我的 iPhone
在 2013-5-27,下午5:59,Jens 写道:
> Hi,
>
> I have a very simple route of the form
>
> from("cxf:bean:router").to("cxf:bean:realEP?synchronous=true")
>
> The "realEP" endpoint uses JMS. If t
Hi
Did you push some message to the topic which the route is subscribed?
Can you add some log between your first route from and to endpoints?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
I don't think we need to write a customer HTTP binding this time, writing a
custom Data Format should be enough.
If you have some special HTTP header need to deal with, you may consider to
write that HTTP binding.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web:
://camel.apache.org/spring.html#Spring-HowdoIimportroutesfromotherXMLfiles
--
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
d let camel route use the fixed
private key to send the request to back service?
--
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)
It will have nothing to do with camel, if you redirect the request to another
location :)
--
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
There is a cache of the JAXB context, so the FallbackTypeConverter don't need
to create a new one per 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
Hi,
How did you setup the property component?
I think you can not use the Spring property placeholder inside route definition.
But here is an example you can take a look.
http://camel.apache.org/schema/spring";>
……
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red
o the browser.
[1]http://camel.apache.org/soap.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
Hi,
I guess you need to do some xml transformation to make the xml fit of the soap
message.
Did you check out camel-xslt[1] before?
[1]http://camel.apache.org/xslt.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Hi,
It is looks like CXF will have some trouble to access the wsdl when it is
starting up.
Can you just remove the wsdlURL option from the camel-cxf endpoint uri, as you
are using MESSAGE dataFormat, you don't need to specify the it.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now pa
Did you set the stopOnException option to be true in your multicast?
--
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
You are sending the InOnly message to seda endpoint.
Can you change it to InOut?
--
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,
Can you check if you put the camel-jaxb jar into your 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://willemjiang.blogspot.com/)
(English)
http
Hi,
I'm not sure why you chose camel-cxfrs component to accept the request.
If you just want to process the form, you can use the camel-jetty or
camel-servlet directly.
It could be more easy to add the basic autentications supports out of box.
--
Willem Jiang
Red Hat, Inc.
FuseSource i
Hi,
I think you cannot use the constant of Exchange.FILE_NAME directly in the
Spring DSL.
You should use the String directly like this
request-${date:now:-MM-dd-HHmmssSSS}
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http
Hi,
I just found you are using equinox container.
You can either put the jar into JDK endorse directory, or hack the properties
file to make sure the com.sun.xml.internal.bind packages are not exported.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
camel will try to digest the HttpServletRequest and setup the message headers
and body.
It's a common practice to consume the input stream from message body :)
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Hi,
It looks like you are deploying the camel route into OSGi container?
The warning means there are more than on javax.xml.ws.WebServiceProvider
classes are loaded by deferent Classloader.
Are you using Karaf or ServiceMix?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
I'm afraid you have to implement the timeout mechanism yourself.
I don't aware camel provides this feature out of box.
BTW, I think the solution2 that you have is a good one.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.
I just found there are some bugs in the code, so I fill a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-6358
--
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
It looks we need to add a rounding mode when calling the divide method.
The default value which is used in the divide method is
RoundingMode.UNNECESSARY.
You will get the exception when the divide method don't know how to round.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Re
Hi,
It looks like Camel takes lots of time to create a new Http endpoint, maybe you
need to consider to do some caching work for it.
BTW, whyou you need to se the soTimeout per endpoint.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http
Are you using FTP to download the file?
I'm not sure how the BufferedInputStream is involved.
If the file is downloaded, the BufferedInputStream will never time out.
If the BufferedInputStream has the timeout mechanism, I don't think you need to
check if the File is download.
-
What you want to do with the initial message body?
If you don't need that body object anymore , you can set it to be 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
camel-jetty is using org.eclipse.jetty.servlets.MultiPartFilter to handle this
multipart message.
You may consider to configure the filter in your web.xml.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi
I suggest you remove the streamCaching() and to("log:servlet") from your route.
Current streamCaching doesn't support to caching the Servlet request input
stream.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.
Hi
You can use ErrorHandler[1] with some codes here[2]
[1]http://camel.apache.org/error-handler.html
[2]http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Can you show us your Camel 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://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com (http://jnn.javaeye.com
I'm not sure if the billing service needs the data from the business analysis.
If it doesn't need those data, it could be more easy by using wire-tap[1]
[1]http://camel.apache.org/wire-tap.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fuse
Just Christian point out. If you want to set the message body for the PAYLOAD,
it should not has soap envelop. It could be an xml element or java object
(camel-cxf will marshal the object for you by default).
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
test case to the JIRA, then
we can keep on digging the issue.
--
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://j
Did you have camel-hbase in your class path?
Please remove it from your class path if it is 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://willemjiang.blogspot.com
le name is attachment id
DataHandler data = in.getAttachment("image");
Then you should get the input stream from the data handler.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjian
Hi,
I just checked the code of Camel Properties component, the last one will
override the first one value.
--
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,
I'm not sure how did you find the option, I just check the netty page[1], there
is no such a option.
[1]http://camel.apache.org/netty.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Why do you need to intercept those endpoints?
Do you plan to use it in your unit test?
--
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 don't think you set the right payload message as soap body element is empty.
BTW, if the request doesn't hit the route, you need to check the log file to
see if there anything wrong on the ProducerTemplate side.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of R
t the interval time a bit longer? In this way , I guess you
will get few message lost.
--
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/)
(En
Did you have chance to install the ActiveMq 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://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com (http
How did you inject the 10 millisecond gap?
I cannot tell it form the the routes those you showed.
--
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
Hi,
If you want to send customer headers through the ProducerTemplate, please check
this[1] out.
[1] http://camel.apache.org/cxf.html#CXF-HowtogetandsetSOAPheadersinPOJOmode
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http
Do you want to pass the object to the constructor of myMessageConverter?
Spring supports it out of box :)
--
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
to do that kind of work.
I think that is why the SoapFault is wrapped with in a CamelExecutionException.
--
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.bl
If you put a object into the exchange properties, you can lookup it later in
other processor.
--
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
ProducerTemplate can send the exchange to any other endpoints.
Processor is decoupled with the camel route, I don't think you can get the
downstream endpoint from the custom Processor itself.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesourc
Hi
Can you remove the first line of onException(Exception.class)?
As you set the handled(true) it will not triage any other exception handler.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Did you try to set the operationName header?
发自我的 iPhone
在 2013-4-10,下午11:41,"valerian.merkling" 写道:
> Hi !
>
> I'm currently unable to win against this error : /The PayLoad elements
> cannot fit with the message parts of the BindingOperation. Please check the
> BindingOperation and PayLoadMes
AFAIK, there is no Facebook component for camel.
But you may consider to leverage Spring Social to save some time :)
--
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
Just as Dan said we don't need that import, as the CXF bus will take care of it.
@Christian, I will revisit this issue when I get some time today.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
It looks like a bug of camel-cxf component.
Can you submit a simple test case to the JIRA[1] so we can keep digging the
issue.
BTW, you can disable the async invocation by setting the option
"synchronous=false"
[1]http://issues.apache.org/jira/browse/CAMEL
--
Willem Jiang
Re
Hi,
Camel supports OSGi out of box.
How did you deploy you camel route?
camel-core will try to locate the component from the OSGi bundle, if you deploy
the camel-core bundle and camel-quartz bundle, the camel-qurtz component can be
found without doing any additional work.
--
Willem Jiang
Hi,
Please check out my comment 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
I think you can use the XQueryBuilder in the Processor just like you showed.
If you want to call the evaluateAsString multiple times, you need to make sure
the message body is reread able.
You can convert the message body into String before you process it in your
processor.
--
Willem Jiang
Hi
You didn't specify the right header for the .
It should be start with "sql:xxx" not the sql string that you want to send to.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blo
Hi,
I'm not quite understand you question.
Do you want to write a unit test or you just want to call this process in the
camel route with loop?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
Hi,
Why did you need to load CXF internal API to load the routeContext?
Can yo just use SpringCamelContext to load the camel routes?
BTW, can you pass the routeContext.xml here?
It could be much easier for us to reproduce the error by trying your test case.
--
Willem Jiang
Red Hat, Inc
If you are using the URI inside the XML, you need to check change "&" to "&".
It is same with the "<" and ">".
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.
/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.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
builder.onException(Class[MyFunctionalException],
Class[MyTechnicalException]).to("mock:error").handled(true)
--
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.bl
I think the document means some pre or post camel context test support setting
up.
Just like the you cannot call the assert* method if you are using
SpringJUnitClassRunner, you can consider to use the static imports to use the
method in CamelSpringTestSupport.
--
Willem Jiang
Red Hat, Inc
Hi
I just filled a JIRA[1] for it, and will try to fix it today.
[1]https://issues.apache.org/jira/browse/CAMEL-6221
--
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
RouteContext can do the job that you want to do.
Here is an Example[1] for how to use it.
[1]http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Yeah, I think the better solution could be we can let the
CamelBlueprintTestSupport support to create the context per test class.
I will work on it today.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http
Hi Charles,
It is not related the SOAP Action. From the stack trace I can tell you may not
pass a right OperationName header.
BTW, you can set the defaultOperationName on the CXFEndpointBean or CXFEndpoint
URI.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
Hi,
Can you show us the code of the myProcessor?
I just checked the code of camel-mqtt producer, it will to send the message to
mqtt server unless the it can get the byte array from the message body.
Please make sure the message body is reread able.
--
Willem Jiang
Red Hat, Inc.
FuseSource
Hi,
As the WS-Discovery works as a service, I think you just need to make sure the
two jars are wrapped rightly.
Please let us know if you find anything wrong, I'd like to spend some time to
get all WS-Discovery things work :)
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Re
Hi,
Did you have any Spring configuration which works?
It looks like a configuration issue instead of camel issue.
--
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
It could be done by writing a custom TypeConverter[1], and you can turn the
message body into BeanInvocation like this
from(xxx).setBody(body(BeanInvocation.class))
[1] http://camel.apache.org/type-converter.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
("file:/csv3/").to("direct:merge");
from("direct:merge").aggregate(…)
--
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/)
(Engl
I think Smith should try to use the latest Camel 2.10.4, there are some
CxfPayloadConverter related fix recently.
--
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,
I think you can change you application to be more dynamically.
You should have a control route which accept the request in the public room and
if there is a new private chat, you need to create a new route for it.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
Hi,
I not think there is something wrong which could prevent StreamCaching working
as we expect.
Do you mind create a simple unit test case to produce the error that you meet?
I need the case to help me dig the issue.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http
create the Iterator of ZipEntry inside the ZipFile
DataFormat.
I will revisit the patch again and move the code to camel-zipfile module.
--
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
-HowtogetandsetSOAPheadersinPAYLOADmode
--
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
901 - 1000 of 3379 matches
Mail list logo