I should add that I tried loading the converter class as a bean in my
app-context.xml but that didn't do the trick either.
--
View this message in context:
http://camel.465427.n5.nabble.com/TypeConverter-not-being-loaded-tp4735055p4735153.html
Sent from the Camel - Users mailing list archive at N
Willem, That is in fact the case - I am just calling the execute. For
starters though, I've opted to implement this by creating a method in my
pojo that creates a new instance of itself based on information in the
header, sends itself to the service using httpclient, and loads the result
in to mes
I suppose I'm confused about how to load my TypeConverter. I have a Spring
web-app running in tomcat (tried glassfish too), have an annotated class,
and have placed a TypeConverter in several locations, including
/META-INF/services/org/apache/camel, /WEB-INF, and /WEB-INF/classes.
However, when C
It will take sometime to start the whole CamelContext.
If you just has a route to send the request , I guess the start time
can be less then 2 seconds.
On Fri Aug 26 10:57:31 2011, xiangqiuzhao wrote:
i use soap-ui to send request the same service server, very fast and less
than 1 seconds.
bu
On 8/26/11 10:52 AM, xiangqiuzhao wrote:
i need get the request body content in the response message.
my application like
from("direct://test").process(new ProcessA()).to("cxf://remote").process(new
ProcessB())
ProcessA set exchange.getOut().setBody() at last, example
exchange.getOut().setBod
Seems I misunderstood you, thought you're associating requests with responses
in async.
On 26 Aug 2011, at 4:28 AM, Willem Jiang wrote:
> If you take a look at the code of CxfProducer.process(Exchange exchange)
> method, you can see the response is put into the Exchange out message.
>
> On 8/
I suspect you mean async, and you can add a header with your correlation ID.
Taariq
On 26 Aug 2011, at 4:10 AM, xiangqiuzhao wrote:
> if my application is sync mode, how to associate the request and response? i
> need to set something in the response, but the info in the request only.
>
> --
>
i use soap-ui to send request the same service server, very fast and less
than 1 seconds.
but use cxf-module to send need 6 seconds. my program use wsdl and payload
format, and no serviceClass.
--
View this message in context:
http://camel.465427.n5.nabble.com/about-the-efficiency-to-use-the-cxf
i need get the request body content in the response message.
my application like
from("direct://test").process(new ProcessA()).to("cxf://remote").process(new
ProcessB())
ProcessA set exchange.getOut().setBody() at last, example
exchange.getOut().setBody(mapObj)
but in ProcessB need get the P
If you take a look at the code of CxfProducer.process(Exchange exchange)
method, you can see the response is put into the Exchange out message.
On 8/26/11 10:10 AM, xiangqiuzhao wrote:
if my application is sync mode, how to associate the request and response? i
need to set something in the resp
Hi,
You can not simply enable the trace by setting the tracing option.
You need to override the createCamelContext like this.
@Override
protected CamelContext createCamelContext() throws Exception {
CamelContext context = super.createCamelContext();
tracer = Tracer.creat
if my application is sync mode, how to associate the request and response? i
need to set something in the response, but the info in the request only.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-get-response-on-synchronous-in-cxf-module-tp4733514p4736592.html
Sent fro
Hi David,
Sorry, I don't think there is a way to workaround this issue.
I just merged the patch into Camel 2.8.x, and we are planing the release
Camel 2.8.1 recently.
On 8/26/11 2:30 AM, David Tombs wrote:
Hi Camel folks,
I'm currently struggling from CAMEL4264[1] in route that looks like:
Hi,
I did use soapUI to test the REST service before.
Can you take a look at the unit test[1] of the camel-cxfrs ?
It could be easy to test the service with simple HttpClient.
[1]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxr
Is it possible to invoke a static method in the middle of the route without
having to use a processor or other wrapper?
Basically I have a simple static utility function that I want to invoke and
use it's results as a header.
Normally this would look like:
from(someInput)
.bea
Ashwin,
Thank you for your response.
If I understand you right, you suggest using approaches similar to the ones
below:
from(uriA).filter(not(TerminatedJobPredicate)).to(uriB) or processor
from(uriA).process(FilteringProcessor).to(uriB)
It may not be that big of an issue for me to include filte
Hi,
I have my program set up, it runs fine, the output appears to be correct,
but in the "catalina.out" log there is the following error and I don't know
why:
org.apache.camel.component.netty.handlers.ServerChannelHandler
exceptionCaught
WARNING: Closing channel as an exception was thrown from
as per:
http://camel.apache.org/book-in-one-page.html
I am just not getting how the RS_ENDPOINT is mappable to external clients
looking to execute this service:
private static final String CXF_RS_ENDPOINT_URI =
"cxfrs://http://localhost:9000/rest?resourceClasses=org.apache.camel.component.cxf.jax
I have been working on this all day today again and not made any headway. I
am looking for any help getting pointed into the right direction.
I have been trying to understand how to test the services that I have
deployed via SoapUi but cannot seem to be able to send in a message to the
cxfrs route
I started with the example
from apache-camel-2.8.0\examples\camel-example-cxf\** and want to create a
way to be able to:
WHen I deploy that service then open http://localhost:8080/event-processor/ I
get the wrong URL's published:
Available RESTful services:
Endpoint address:
http://localhost:8080
Hi Camel folks,
I'm currently struggling from CAMEL4264[1] in route that looks like:
JMS -> log -> stream resequencer -> log -> processor
Unfortunately, the exception is thrown between the 2nd log and
processor, and caught and logged (at DEBUG level!) by the
StreamResequencer. So the affected m
Camel 2.9
I wrote a very simple junit test (below) with the tracer turned on, but I
didn't seem to get any tracing messages, so I fired up the debugger.
It looks like when the tracer tries to log, it has have it's log level set.
Initially this is done by the DefaultDebugger class, which sets it
Hi,
Hmm, can you not use a filter to filter out messages with a given Job Id.
Instead of coming up with very complex processing, a simple processor/bean
that filters out messages and pushes other messages to a sub-route for
downstream jobs/processes using a ProducerTemplate is a simple and elegant
I have an instance of a job that is handled by multiple processors. All
Exchanges for this instance of a job can be identified by a value of JOB_ID
header. What is the best way to terminate processing of an instance of such
a job?
I can think of the following that needs to happen:
(1) Remove pendi
FYI I've adding this as the "ciphers" URI option for the SFTP component.
Some documentation is available here
https://cwiki.apache.org/confluence/display/CAMEL/FTP2 It will be available
in Camel 2.9.
On Thu, Aug 25, 2011 at 2:19 PM, Jon Anstey wrote:
> Yeah, there is no option for this so I've c
Yeah, there is no option for this so I've created
https://issues.apache.org/jira/browse/CAMEL-4382 to track this enhancement.
On Thu, Aug 25, 2011 at 2:16 PM, Jon Anstey wrote:
> Don't think there is an option for that. You'll have to manually configure
> a JSch instance with the ciphers you wan
Don't think there is an option for that. You'll have to manually configure a
JSch instance with the ciphers you want.
Cheers,
Jon
On Thu, Aug 25, 2011 at 10:58 AM, laxad wrote:
> I am using SFTP component and my new requirement is to specify the type of
> cipher going to be used for the transfe
On Thu, Aug 25, 2011 at 3:21 PM, Gert Villemos wrote:
> I have a route 'from' a file component processing all files in a directory.
>
> When all have been processed (and not before), then I want another route to
> start.
>
> I tried 'startupOrder' but both routes are still started almost together,
Also,
in the follwing code:
from("activemq_production:queue:queue1”)
.to("activemq_staging:queue:queue2","activemq_customer:queue:customerQueue");
Do I need to create queue1, queue2 or customerQueue? or the above "from ->
to" statements will automatically create the queues if they don't exist
Thank you very much for such a precise explanation.
Our customer is using IBM MQ, can you also provide SPRING tags to configure
IBM MQ broker?
Also, we used VPN to cennect to our customer Queue, do I need to configure
CAMEL/ACTIVE MQ for the VPN?
Thank you
--
View this message in context:
ht
I am using SFTP component and my new requirement is to specify the type of
cipher going to be used for the transfer.
I checked the FTP2 page on camel website but there is no option for cipher
strength.
Is this an option that is going to be included in the later releases of
camel?
Thanks.
--
Vie
I have a route 'from' a file component processing all files in a directory.
When all have been processed (and not before), then I want another route to
start.
I tried 'startupOrder' but both routes are still started almost together,
not when the lower order has completed.
How can I configure tha
I think you can accomplish this by creating a database stored function out of
your PL/SQL code and then call that function from an sql statement in your
sql map IE:
Select function_one( Parameters) from dual.
Of course you will need to use the camel-ibatis framework to access the
Oracle Data
Yes, you are right osgi should support for it,
I just found a defect of camel FactoryFinder which can't locate a right
version of Factory.
So I filled a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-4380
On 8/25/11 6:21 PM, sebastien.petrucci wrote:
Hello,
I listed a number o
Hello,
I listed a number of camel imports in my bundle manifest:
*
Import-Package*: org.osgi.framework;*version*="1.3.0",
org.apache.camel;*version*="[2.9,3)",
[...]
But, in theory, is this supposed to work ?
Regards,
Sebastien.
2011/8/25 Willem.Jiang [via Camel] <
ml-node+4733830-210917976
Hi,
It looks like the camel-core load the wrong version of strategy.factory.
How did specify your route to use Camel 2.8 or Camel 2.9 ?
On 8/25/11 4:05 PM, sebastien.petrucci wrote:
Hi,
I started to dig into the OSGi world. That's really interesting for a number
of reasons.
One of the goals
As you know AsyncProcessorTypeConverter just help CXF async engine to
call the sync Processor constantly.
I don't think you need to wire the processor yourself.
Camel implements lots EIP which can help you write the route more
easily.
If you want to send the request an outside WebService, yo
Please take a look at the ProducerTemplate, there are lots of method
that you can use.
BTW, the procduer.prcoess() method will invoke the web service
synchronously.
On 8/25/11 4:03 PM, xiangqiuzhao wrote:
Producer producer = endpoint.createProducer();
producer.process(exchan
i use RouteDefinition to add processor and the processor implements camel's
Processor.
but why AsyncProcessorTypeConverter appeared when i debug my application.
i need the processor handle in sync mode. why is async processor?
--
View this message in context:
http://camel.465427.n5.nabble.com
Hi,
I started to dig into the OSGi world. That's really interesting for a number
of reasons.
One of the goals for me is to figure out how to run *concurrently* multiple
Camel contexts with different versions of Camel.
Therefore, I picked up Karaf, Camel 2.8 and a snapshot of Camel 2.9.
I created 2
Producer producer = endpoint.createProducer();
producer.process(exchange);
return exchange.getOut().getBody();
i have put the message to direct compoment, and want to get the response in
sync mode. the remote is web services server. but how to ensure to return
the
Dears
You will find below an example showing what I would like to achieve with
Camel
Basically I would like to execute a PL/SQL block in an Oracle database and
to retrieve the result (which is a CLOB in this case)
I would be very happy if you could me
Many thanks in advance
Marc
Hi
See the file language (its part of the simple language)
http://camel.apache.org/file-language.html
So in the to endpoint you can use a simple expression to define the file name
For example something like:
On Thu, Aug 25, 2011 at 9:42 AM, shekher.awasthi
wrote:
> Hi All,
>
> While working
Hi All,
While working i came across a requirements where i have to name the final
output file based on the input file
e.g
if the name of the input file is a.xml and i need to convert it to csv at
the end than the output file should be named as
customoutput_a.xml.csv
like in my case i have the fol
44 matches
Mail list logo