There are quit different change between the Netty3.x and Netty4.x.
That is why we create a new camel component camel-netty4[1] for it.
So I think you can just need to change the camel-netty to camel-netty4 and
use the scheme netty4 in your camel route.
--
View this message in context:
FYI, The stack over flow issue was addressed by CAMEL-8036.
As we setup the security handler directly on the server, it is impossible to
set up two different security handler on the camel jetty endpoints which
share the same Jetty component(Jetty server).
--
View this message in context:
I think you may need to find another way to pull the sub directory instead of
pulling root directory directly.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-ftp-2-15-1-return-ftp-error-code-421-tp5765272p5765843.html
Sent from the Camel - Users mailing list archive
The first connection is used to check if the ftp server is still alive before
starting to pull the directory.
If the RemoteFileConsumer cannot connect to the server, it just return the
pulling process and wait for another pulling.
--
View this message in context:
Hi,
Did you try to setup the JettyComponent first just like this?
JettyEndpoint doesn't support to set the sslSocketConnectors.
If you want to set the sslContextParameters you need to set it just like
this
--
View this message in context:
Hi
The stack track is not based on the code that you showed.
Please make sure you setup the rsClientProxy bean rightly just like this[1]
[1]https://camel.apache.org/cxfrs.html#CXFRS-HowtoconfiguretheRESTendpointinCamel
Willem
--
View this message in context:
Hi,
You can take a look at the onException DSL[1]. You can redirect the exchange
to a resending route if you want to resend message.
[1]http://camel.apache.org/exception-clause.html
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-re-sending-tp5754474p5754482.html
Sent
Hi Bernard,
You are right, the patch has nothing to do with if the http endpoint is
bridge endpoint or not.
I created a JIRA[1] to keep track of this useful feature.
[1]https://issues.apache.org/jira/browse/CAMEL-7638
Regards,
Willem
--
View this message in context:
Answer for Q1, you can write a Processor to setup the invocation based on
the Web Service request. You can find some example on how to prepare the
invocation parameter here[1].
Answer for Q2, camel-mail use the Java mail to talk to the mail server, I
think it should be find if the server is
Yes, we changed the default setting in Camel-2.12.x to enforce the security
the setting by default.
You can override the setting just as Grzegorz suggested.
--
View this message in context:
If you put the message body into out message, you need to copy the in message
headers to the out message header at the same time.
camel-cxf cannot take the message headers from the in message and message
body from the out message.
--
View this message in context:
Hi,
The AsyncProcessorHelper.proccess() method just provides a sync processing
invocation which is based on the Async API. I need to know some detail
about your route which makes camel does that change.
It looks like you are using direct endpoint to route the message to next
camel route, as
timeToLive is the uri option, you can set it on the jms endpoint which you
want to route the message from camel route to jms broker.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/JMS-Message-Expiration-period-tp5749032p5749075.html
Sent from the Camel - Users
Thanks for sharing the solution with us.
Do you to need wrap up a new application jar for JavaFX to use?
Why does the camel-spring.jar be used directly?
--
View this message in context:
http://camel.465427.n5.nabble.com/JavaFX-Spring-Camel-Maven-tp5749039p5749076.html
Sent from the Camel -
Hi,
For the CXF invocation, it need to return not only the invocation result,
but also some out parameters, so we use a Array or List to story these
results. If you just set the body with a simple object, camel-cxf can wrap
it into a List, but if you put a list as a return object, camel will
Can you double check the camel jars in your class path to see if there is
another version of camel jar in your class path?
BTW, can you tell us which ClassDef is not found?
--
View this message in context:
http://camel.465427.n5.nabble.com/Unit-Testing-Question-tp5745966p5746476.html
Sent
You set a wrong url, please remove the option of dataFormat=MESSAGE because
you just invocation the web service with a string instead of SOAP message
output stream.
--
View this message in context:
The correlation_id and reply_to header are removed in
removeHeaders pattern=rabbitmq.*/
You can find more information about the rabbitmq.* header here[1]
Current camel-cxf doesn't support the JaxWsDynamicClientFactory out of box,
so you need to generate the SEI yourself before calling the service.
--
View this message in context:
http://camel.465427.n5.nabble.com/SOAP-Web-service-Calling-using-camel-tp5745180p5745372.html
Sent from the Camel -
Here is a thread[1] in the stackoverflow which calls about it.
[1]http://stackoverflow.com/questions/20421767/problems-with-mina-netty-tcp-endpoint-in-camel-tcp-socket-server-endpoint/
--
View this message in context:
XQuery suppose to set the result type like this
from(direct:start).xquery(concat('mock:foo.', /person/@city),
String.class);
The default result type is DOM.class.
--
View this message in context:
http://camel.465427.n5.nabble.com/XQuery-camel-saxon-tp5743206p5743251.html
Sent from the
As you are using splitter you have to aggregator to put the response
together.
--
View this message in context:
http://camel.465427.n5.nabble.com/splitting-xml-failed-when-running-on-tomcat-tp5740407p5740482.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You should get an exception if the fabric registry entry is not exist.
Can you double check the log to see if Camel throws the exception out?
--
View this message in context:
http://camel.465427.n5.nabble.com/Messages-disappear-if-fabric-endpoint-resolves-to-null-blank-tp5733683p5737512.html
Hi
I just have some time to revisit this issue and found you'd better to
leverage the configure admin service which suppose to related the bundle
when the configuration is changed. It will more powerful then you just pass
the properties through the OSGi service.
Willem
--
View this message
Hi,
If you don't want the path1/path2 to be added, you can set the
bridgeEndpoint option to be false, otherwise you should et the option to be
true.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Appending-Not-Appending-paths-tp5732231p5732241.html
Sent from the
camel-cxf is using the asyn invocation by default, if you add the
synchronous=true , it will use the synchronous invocation instead.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/cxf-producer-needs-a-break-tp5730612p5731050.html
Sent from the Camel - Users mailing
I just have a chance to check the code, it is not a new component.
I think we can treat it as an expression, which can help the splitter to
build a Iterator from the uncompressed stream. And it is mainly used with
split DSL.
Willem
--
View this message in context:
Hi,
I just went through the unit test, I just found there is some miss
understand between the URI that http4 endpoint use and the URI that the
http4 producer use.
As you know there are more than one component which can send the request to
the HTTP server, such as camel-http, camel-http4 and
Hi,
I can reproduce this kind of error in the trunk by adding a simple unit test
as you said.
If I remove the shareUnitOfWork setting, the error handler can get expect
numbers messages.
So I just fill a JIRA CAMEL-6005[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-6005
Willem
--
Hi,
You are using camel-ftp-2.10.0.fuse-71-047.jar with the
camel-core-2.9.0.fuse-7-061.
Please make sure you are using the same version of camel when start the
camel context.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-ftp-error-tp5724614p5724617.html
Hi,
From the routes those you showed us, I can see you need go through the
camel-cxf wiki[1].
It shows you how to consume or produce the message through the camel-cxf
component.
[1]http://camel.apache.org/cxf.html
Willem
--
View this message in context:
Hi,
How did you send the request to you queue? Did you use ProducerTemplate or
just another route ?
BTW, you need to consider to use camel 2.10.2 which is latest stable release
of Camel.
Willem
--
View this message in context:
Hi,
Did you have any chance to take a look at the loan broker example[1]?
Basically you just need to setup right aggregation strategy to put the
response message together.
[1]http://camel.apache.org/loan-broker-example.html
Willem
--
View this message in context:
Here is the MockComponent that I mentioned, you just need to register it into
the camel context, then you can you get what you need :)
package org.apache.camel.component.mock;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.Endpoint;
import
In the PAYLOAD dataformat, you need to marshal the SOAP fault detail
yourself, like this[1]
In the MESSAGE dataformat, you need to marshal the whole SOAP fault
yourself, as camel-cxf just redirect the input stream itself.
Hi,
You can set the request context with the below code in your processor before
routing the message the the cxf endpoint.
from(cxf:xxx).process(new Processor() {
public void process(final Exchange exchange) {
MapString, Object requestContext = new HashMapString, Object();
You are using ThreadPoolTaskExecutor from spring and JmsComponent doesn't
manage the TaskExecutor life cycle itself.
If you want to shutdown the whole application gracefully, you need to call
the ApplicationContext destroy method.
--
View this message in context:
Just one comment on the camel-cxf behavior change of Camel 2.9.1.
CxfProducer create a new client when it is started to avoid the memory leak
if the customer create the route dynamically.
I'm not sure if it is relates to test code that you have, can you show us
the whole test example.
Willem
If you put the schema into the test/resources directory, it will not be
wrapped into the more jar.
You may need to add the test jar dependency like this
groupIdcom.example/groupId
artifactIdmy-artifact/artifactId
typetest-jar/type
scopetest/scope
Willem
--
View this message in context:
Hi,
Camel does not try to load the annotated Converter from package of
'org.apache.camel.converter' since Camel 2.8.0.
Can you check if you wrap the other version of camel into your war ?
--
View this message in context:
Hi,
Can I have a look at your SEI class
net.myservice.myserviceuserdata.ServiceMyServiceUserData?
It looks like CXF client is try to invoke the service with unwrapped
parameters.
Willem
--
View this message in context:
Hi,
I think you made a mistake of the route configure code and the processor
code.
The Java DSL which you used to define the route is just a configuration
code, it tell camel to build the route as you want, they are not the
processing code which camel uses in the runtime.
If you want to camel
I think we need to take a look at your data format code.
--
View this message in context:
http://camel.465427.n5.nabble.com/unmarshalling-but-not-marshalling-tp5152663p5156527.html
Sent from the Camel - Users mailing list archive at Nabble.com.
As you are using the http jetty transport, when you set the address to be
http://0.0.0.0:8890/ProcessPrescriptionOrder;, you should be able to get
the wsdl with the url
http://localhost:8890/ProcessPrescriptionOrder。
0.0.0.0 just let Jetty to listen to all the network interface.
Willem
--
View
This issue should be fixed by CAMEL-4570[1]
[1] https://issues.apache.org/jira/browse/CAMEL-4570
--
View this message in context:
http://camel.465427.n5.nabble.com/Missing-detail-element-in-SOAP-fault-tp4913512p4931073.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It looks like you are using the camel-http component to send the request to
the server.
Can you show us you camel route ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Missing-detail-element-in-SOAP-fault-tp4913512p4920338.html
Sent from the Camel - Users mailing list
Hi,
After checking the code of BindyCsvFactory, I found the it only support the
separator to be char not a string.
Maybe we should add some note's on the camel-bindy wiki page.
Willem
--
View this message in context:
I just did some test on the camel-ejb module.[1]
It is possible to lookup the spring beans if you just set up the jndi
context on the ejb object.
you can find the reference here[2].
[1]http://svn.apache.org/viewvc?rev=1170483view=rev
Which version of CXF are you using?
It looks like you have multiple version of CXF jars in your class path.
--
View this message in context:
http://camel.465427.n5.nabble.com/WebService-problem-after-adding-tp4578410p4581491.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Can you not ask the same question across the topics ?
It's very annoying and can't help you to get the answer more quickly.
Please be patient.
--
View this message in context:
http://camel.465427.n5.nabble.com/ServiceMix-4-3-1-and-Camel-2-8-SNAPSHOT-tp4553864p4563603.html
Sent from the Camel -
No , you don't need it.
CXF supports the build the service module from the interface, so you don't
need to provide the WSDL file for the camel-cxf endpoint.
--
View this message in context:
http://camel.465427.n5.nabble.com/I-search-example-where-Camel-return-Web-Service-tp4557105p4559801.html
I wrote some pieces of Chinese articles to introduce some basic concepts of
Camel.
You can find them in my Chinese blog.
[1]http://jnn.iteye.com/category/27938
Willem
--
View this message in context:
Hi
The header name should be JMSReplyTo.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/set-jms-reply-to-in-message-header-tp4420767p4420786.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
You can define the different entityManagerFactory for different jpa
component instance like this
bean id=jpa1 class=org.apache.camel.component.jpa.JpaComponent
property name=entityManagerFactory
ref=entityManagerFactory1 /
/bean
bean id=jpa2
Hi
Instead of using the customer processor, the route can use the convertBodyTo
directly.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Cometd-component-tp4299174p4300424.html
Sent from the Camel - Users mailing list archive at
Hi,
If you want to use the properties component in simple language, the syntax
is liking this
${properties:[locations]:key}
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Strange-behavior-with-simple-language-in-camel-route-tp3200894p4300441.html
Sent from the Camel
Just a quick note for CXF server return the stack trace back to the client.
If you are using SOAP 11 , CXF can put the stack trace into the fault
message if you enable the option faultStackTraceEnabled like this
As Camel has a async process module, you can't know if the processors are
called in a single thread.
If you are using the thread local to store the states, it may be massed up.
My suggestion is store the states information into the Exchange, and Camel
will make sure it is processed rightly.
Hi ,
Good catch of the issue of misses map. We should updated if a new
TypeConverter is added. Please feel free to create a JIRA for it, We love
the contribution :)
Can you give me more detail about the webstart issue of the
AnnotationTypeConverterLoader?
What kind of error that you web start
I just cleaned up the file which name has 2.8-SNAPSHOT in my ~/.m2/ and
start to run 'mvn clean install' from examples/camel-example-cxf and can't
get the error that you reported again.
Willem
--
View this message in context:
No, CamelContextFactoryBean just lookup the type bean like this.
ShutdownStrategy shutdownStrategy = getBeanForType(ShutdownStrategy.class);
So the bean id could be anything :)
Willem
preben wrote:
Just create a spring bean :
id is important here since
Hi,
There is a FallbackTypeConverter[1] will help you do this kind of job of the
message body's class is annotated with JAXB annotations. If you put the
camel-jaxb into your class path, this fallback type converter will be used
by default.
If you don't want to use it , you need to convert the
Can I know why you want to add Processor into the route?
I don't think current Camel provides that kind of API you want.
You may consider to use this handy Intercept[1] of Camel instead of add the
processor to the route.
[1]http://camel.apache.org/intercept.html
Willem
JacobS wrote:
Hi
I'm not sure how did you remove the Jetty endpoint?
From the camel route configuration, I can just tell that the Jetty endpoint
is used to accept the request from http://localhost:8081/msgs, just like the
file endpoint does.
If you want to remove the Jetty endpoint, you need remove the this whole
Hi,
Which version of Camel are you using?
It could be helpful if you post your endProcessor code.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-Get-SOAP-Response-from-the-Last-Camel-Processor-in-the-Route-tp4127850p4165310.html
Sent from the Camel - Users
Hi,
I can see any route definition in your code, so when you start or stop the
camel context , it do nothing on the JMS ConnectionFactory. Because the
camel context start or stop just delegates the calls into the Camel service
object, which could be a route or an endpoint.
Willem
--
View this
Hi,
You could use the Direct endpoint to do think kind of job.
from(direct:start).to(jms:queue:test);
And you can use template to send the object to direct:start, and you can
add customer processor between the direct:start and jms:queue:test
endpoints.
Willem
--
View this message in context:
I just a have a quick look at camel RestletComponent and camel
RestletProducer.
You can extends RestletEndpoint and RestletProducer to replay the
CamelRestlet one with your RestletServlet.
Can you tell me what you want to do in your RestletServlet? Maybe we can
find some common processor to add
Hi,
I don't know why you call the below code in your processor.
msgList[1].toString()
If your request message only one parameter, the msgList should have only one
element.
If you want to get the result, you should check it in the processor after
.to(cxf:bean);
Willem
TJ wrote:
when i send
Hi ,
You need to do the content base routing according to the operation name.
Here is an example[1] for you.
[1]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
Gabor Dolla wrote:
sorry but half of my
Hi Bryan,
It looks more like a ActiveMQ issue than Camel.
Can you send this mail to the us...@activemq.apache.org ?
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/InOut-exchanges-require-synchronized-clocks-tp3411881p3411964.html
Sent from the Camel - Users mailing
Hi Bill,
I'm not sure what's your mailbox files like.
If you can turn the mailbox file into camel-mail URI, I think you will have
no trouble to use camel to do the work.
Willem
--
View this message in context:
What kind of exception that you service throw?
It looks like the File can't be renamed if camel is still using that file.
Please subscribe the users@camel.apache.org before you start a new thread in
nabble.
Willem
--
View this message in context:
Hi Christian,
I cannot see any code inside the {code}{code} block.
And I didn't get your question.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3408939.html
Sent from the Camel - Users mailing
Please call the end() after you call the delay() function, then you will get
same result as not using delay() function.
As you know delay is a delegate processor, end() will tell him there is no
other processor it should be delegated to call.
Willem
marbor wrote:
Hi all:
I have a DSL
Hi,
Can I have a look at your route configure?
What's the stack trace when you add threads definition ?
I can tell nothing until you answer my upper questions.
--
Willem
--
FuseSource
Web: http://www.fusesource.com
Blog:http://willemjiang.blogspot.com
Current Camel doesn't have this kind of tools out of box.
I'm afraid you need to use other JProfile tools to dig the issue yourself.
--
Willem
--
FuseSource
Web: http://www.fusesource.com
Blog:http://willemjiang.blogspot.com (English)
Which version of Camel are you using?
Did you deploy the camel application in OSGi platform?
Can you try to add below lines into your config ? It which will let CXF load
the module explicitly.
import resource=classpath:META-INF/cxf/cxf.xml/
import
There is no Thread.sleep() call in the camel-snmp. So I guess you are telling
the ScheduledPollConsumer's delay time by setting the delay option from URI.
You can find more information about camel-snmp component here[1]
[1]http://camel.apache.org/snmp.html
Willem
ganges_k wrote:
Hi,
I
Hi,
If you already have a soap message which has the right soap header
information , you can just use the camel-http[1] component to invoke the
external service.
If you want to do other WS* message handling work, or create the SOAP
message yourself, you can leverage camel-cxf component.
If the camel message body is an inputStream, you can use the
javax.xml.soap.MessageFactory to create a SOAPMessage instance for you.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-convert-Camel-message-to-soap-message-tp3205888p3206334.html
Sent from the Camel
Cool, please post your solution to the mailing list if you find a way to do
this job.
Willem
vvchoy wrote:
Hi,
Thanks for your suggestion. I also find out that weblogic client (both
thin and full jar) does not seem to support the single server recovery
scenario (though it supports the
From the stack trace, I can see it's
javax.xml.xpath.XPathExpressionException.
So I doubt it could be you XPathExpressionException.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Some-camel-questions-tp2806185p2838558.html
Sent from the Camel - Users mailing list
Current cxfbeans doesn't support to configure the provider as you do in the
cxf:rsServer.
I think we can introduce some kind of spring configuration to it.
Please feel free to create a JIRA for it.
--
View this message in context:
which part is not working, and can you show us the stack trace?
btw, you mail is appear in the u...@camel.apache.org. Please subscribe the
mail list first.
--
View this message in context:
http://camel.465427.n5.nabble.com/Some-camel-questions-tp2806185p2827116.html
Sent from the Camel -
How did you create the camel context?
camel-core-osgi is packed into camel-spring as the private package, so you
don't need to deploy it into OSGi platform.
Willem
bstanoje wrote:
Hi,
since moving to camel-2.4.0 I'm not able to use the TypeConverters inside
the OSGi runtime (equinox)
Did you try to set the exchange.setProperty(Exchange.CHARSET_NAME,
windows-1252) like this?
And I need to check your route to see if there is anything that I missed.
Willem
Roland Villemoes wrote:
Hi
I am using Camel-2.2.0 and camel-ftp-2.2.0.
The issue is that i am using camel-ftp
I just create a JIRA[1] and committed a quick fix for it.
Please verify it in Camel 2.5.0-SNAPSHOT.
[1]https://issues.apache.org/activemq/browse/CAMEL-3010
Willem
--
Apache Camel, Apache CXF committer
Open Source Integration http://www.fusesource.com
Blog
It could be much easier if you implement a DataFormat[1] yourself.
Then you could pass the CONVERT_BODY_TO_RSSURL as the message header and
tell the DataFormat to do the job for you.
[1]https://cwiki.apache.org/CAMEL/data-format.html
Willem
--
Apache Camel,
Camel has the multicast pattern[1], I think you can use it directly.
BTW, you need to subscribe the users@camel.apache.org mailing list to get
more quicker response.
[1]http://camel.apache.org/multicast.html
Willem
--
Apache Camel, Apache CXF committer
Open SOA
Can I have a look at your SEI? I mean the OfferService.
Does it use JAXWS annotation ?
If I remember right CXF will try to use the Document-Literal Wrapped by
default.
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog
Hi,
Can you try out the latest Camel 2.4 snapshot?
As Claus fixed some issues[1] relate to the direct endpoint.
[1] https://issues.apache.org/activemq/browse/CAMEL-2854
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog
How did you put the message into the activemq:SiebelOutbound2 ?
Can you make sure the message body is not null ?
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter
You can't use @Producer inject the template yourself.
Here is the mail thread[1] that you can take a look :)
[1]
http://camel.465427.n5.nabble.com/Best-way-to-retrieve-a-ProducerTemplate-created-in-a-camel-bundle-OSGI-td511695.html#a511695
Willem
--
Apache Camel,
How did you setup your activemq connection ?
It looks like the connection can't reconnect after long time running.
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter
Which version of Camel are you using ?
I just assume you are using Camel 2.3.0, as Claus did lots of work on Camel
trunk, the stack trace can't match with current trunk code.
If I remember right , there is a timer thread to keep try redelivering the
exchange, maybe that cause the
How did your start the route?
Did you set up the transaction option on your activemq component ?
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang
VikasG
The Builder's configure() method is called when camel context start.
At this time if the there is no message in the test.queue, camel will not
send message to the smtp server.
Did you try to put some message into queue to see if the message is send to
the smtp server ?
Willem
You can add this option in your file endpoint fileExist=Append
BTW, please take some time to read the wiki page of camel file[1]
[1]http://camel.apache.org/file2.html
Willem
--
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog
Hi,
You can't just run the OSGi service with below command
mvn -e compile exec:java -PCamelServer
You need to deploy your bundle into OSGi plate form, or use some other OSGi
test tool like PaxExam to run.
Willem
--
Apache Camel, Apache CXF committer
Open SOA
1 - 100 of 109 matches
Mail list logo