i am making restful webservices using apache cxf and camel. my configuration
is something like this :
I have three service beans exposed as services and are mapped to different
urls and the route is something like this :
Hi,
Thank you for the response. I have resolved issue. Please find the code
below
Constructed custom binding class which extends DefaultRestletBinding and set
the ClientIno object into Restlet Request
public class customRestletBinding extends DefaultRestletBinding{
Hi Sudha,
you can deploy in a separate bundle your route and you cxf bean.
If you see the example You can find your answer on how to do.
--filippo
2012/5/10 ssudhaiyer :
> Hi,
>
> I'm trying to expose a route as webservice using cxf component. I would like
> to package my webservice and route
On Wed, May 9, 2012 at 6:45 PM, Deepthi wrote:
> Hi Claus,
>
> I am trying to implement Threads EIP in the following manner:
>
>
>
>
>
> http://localhost:9002/REST-Webservice/rest/RESTService"; />
>
>
>
>
> The control is going till webservice but it is not entering the bean.
>
Hi
Yeah I suggest for starters to read the testing documentation,
and in the bottom the links to advice with and notify builder etc
And about mocks, as well.
http://camel.apache.org/testing.html
http://camel.apache.org/mock
On Wed, May 9, 2012 at 10:47 PM, ecimionatto wrote:
> I need help writi
On Wed, May 9, 2012 at 9:09 PM, Deepthi wrote:
> Yea... but I will not be able to use 2.9.0
> Is there a way I can do it in 2.8?
>
Yep code it yourself.
There is code in Camel 2.9.x you can "copy", such as the component
Romain refers to.
Or use some libraries like smooks or vtd-xml etc.
> --
On Thu, May 10, 2012 at 2:30 AM, Deepthi wrote:
> Hi,
>
> I am trying to execute the below code in camel 2.8.0
>
> threadName="thread1">
>
>
>
> uri="http://localhost:9002/REST-Webservice/rest/AsnProcessorRestService"/>
>
>
> The files are not getting deleted from source folder and it is
Hi,
I'm trying to expose a route as webservice using cxf component. I would like
to package my webservice and routes as separate osgi bundles so I can deploy
and modify them separately. Is this doable? How will my route bundle get
hold of the cxf bean?
Thanks,
Sudha
--
View this message in con
Hi,
I am trying to execute the below code in camel 2.8.0
http://localhost:9002/REST-Webservice/rest/AsnProcessorRestService"/>
The files are not getting deleted from source folder and it is processing
the same file again and again.
How can i avoid it?
--
View this message in context
I opened a Jira https://issues.apache.org/jira/browse/CAMEL-5268 to
track this issue.
Thanks.
On 05/08/2012 03:47 AM, pchakinala wrote:
Hi ,
We have restful service developed with CXF. Now we are planning to consume
it using camel-restlet component. We are setting below headers to return
res
Hi,
Did you try setting the camel file name header:
someNewFileName.txt
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-specify-remote-file-name-when-using-FTP-endpoint-tp5697227p5698676.html
Sent from the Camel - Users mailing list archive at Nabbl
about the javadoc i thought of the dedicated folder:
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/javadoc-resources.html.
It should work.
For the input your idea is not bad but currently executions should be
enough (using xbean to scan a package could be added if you want to try).
I need help writing a simple unit test for a given route. (not integration
tests with spring).
Example:
public class MyRoute extends SpringRouteBuilder
public void configure() {
from(
"aws-sqs://queuetest")
.
Hello Arnaud!
You could have a look at my samples which I prepared for CamelOne. There is
also a XA transaction test which use ActiveMQ and JDBC. May be this will
help... May be I will add and example with ActiveMQ and OpenJPA in a few
days...
I'm wondering why do you use org.jencks.amqpool.XaPool
You should also have a look into the Camel OSGI integration tests [1] which
use pax exam to test Camel in an OSGI environment.
[1]
https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/
Best,
Christian
On Wed, May 9, 2012 at 8:44 AM, Claus
I created the ticket: https://issues.apache.org/jira/browse/CAMEL-5267
Best,
Christian
On Tue, May 8, 2012 at 8:57 AM, Claus Ibsen wrote:
> On Mon, May 7, 2012 at 10:50 AM, Thomas Johansen
> wrote:
> > Thanks Yogesh,
> >
> > However I can't see that there is a way to do what is suggested in th
Hi Romain,
>i updated trunk to manage diagram name from routebuilder name. It should be
>easier when several route builders are defined.
Does it make sense to include something like the below?
com.sample.routes
The alternative to create for example two d
Hi Romain,
Thanks for the fast response.
The issue is that diagrams are part of a documentation.
We can certainly reinvent the wheel and try to publish the image in the
maven site hosting javadocs then push an html referring to it, however it
will be cleaner to build a doclet which will be call
probably copying the component
the poc for this component was using camel 2.8.2:
http://code.google.com/p/rmannibucau/source/browse/#hg%2Fcamel%2Fcamel-stax
but i guess you can extract it from the trunk easily
- Romain
2012/5/9 Deepthi
> Yea... but I will not be able to use 2.9.0
> Is there
Yea... but I will not be able to use 2.9.0
Is there a way I can do it in 2.8?
--
View this message in context:
http://camel.465427.n5.nabble.com/Split-large-xml-into-small-xml-using-camel-2-8-0-tp5698075p5698259.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Note: can't you simply use html to include the picture?
- Romain
2012/5/9 Romain Manni-Bucau
> Hi Nestor,
>
> that's currently not *planned* but it could be added (i'm not sure when
> i'll be able to work on it).
>
> since the project is now on github any contribution is welcomed ;)
>
> what's
Hi Nestor,
that's currently not *planned* but it could be added (i'm not sure when
i'll be able to work on it).
since the project is now on github any contribution is welcomed ;)
what's your issue?
- Romain
2012/5/9 Nestor Urquiza
> Hi Romain,
>
> >For the javadoc integration a doclet shoul
Hi Romain,
>For the javadoc integration a doclet should do the trick (or a simple link
>to generated pictures).
Can you help a little bit on this one? I would like to get the diagram built
when I generate the javadocs just as I get my UML using the below. Are you
planning to have a doclet imple
Hi,
if you can upgrade to camel 2.9 there is a component for it:
http://camel.apache.org/stax.html
- Romain
2012/5/9 Deepthi
> How can i split large xml into small xml's.
> I am using camel 2.8.0
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Split-large-xml-into-s
Also if change the route to
from ftp to cxfrs
multi-threading is not working.
Why is it so?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/CXF-webservice-asyn-tp5695918p5698016.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Claus,
I am trying to implement Threads EIP in the following manner:
http://localhost:9002/REST-Webservice/rest/RESTService"; />
The control is going till webservice but it is not entering the bean.
How can i achieve the above using threads. Am I doing anything wrong?
Hi
Im using camel version 2.9.2. with spring
I try to unmarshal the message1.xml from the example by mvn
archetype:generate #150.
the spring/camel-context.xml looks like
---
http://camel.apache.org/schema/spring";>
Just as a wrap up on this one, I think splitting things up into multiple
routes along with the 2.10 release solved this issue. Thanks again for your
assistance.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5697666.html
Sent fr
Thanks for the responses, I'll update the JIRA and submit the patch as soon
as I get some time (hopefully this weekend) - I've implemented the change
locally (a little different than the one mentioned in the original post) and
it seems to work fine.
--
View this message in context:
http://camel.4
On Wed, May 9, 2012 at 4:57 PM, rdifrango wrote:
> That helps, though I would prefer a mechanism where I could poll the
> processes to see if they have completed their work.
>
There is an in flight registry you can see number of currently in
flight messages etc.
http://camel.apache.org/maven/curr
It seems as if a combination of changing the parameters on the route and
switching the JVM to a Sun one solved the issue. Here is the new route:
val context = new DefaultCamelContext(reg)
context.addRoutes(new RouteBuilder {
"sftp://myId@yashin//prod/msp/logs/prtlf_logs/msp_prtlf_qps_07/msp
Hmm... Not really sure what the actual cause is. Can you wireshark the
interaction and see what did get written? From the stack trace, it looks
like a request came in, it was processed, a response was started to be
written out. During writing the response, some exception occurred from
Jet
That helps, though I would prefer a mechanism where I could poll the
processes to see if they have completed their work.
--
View this message in context:
http://camel.465427.n5.nabble.com/Waiting-for-Routes-to-Finish-tp5695837p5697629.html
Sent from the Camel - Users mailing list archive at Nabbl
The interesting thing, is that I am running the logger at INFO level but
nothing more than this message comes. I'm running it in DEBUG now to see if
I can get more information for you. One other variable is that I'm using
the JRockit JVM so I switch to the Sun version to see if that is part of th
If there were a threading issue with Camel, you should see clearly a
bottleneck in the FTP, since you need to move multiple files with just
10 threads. What kind of resources have a problem? Can you isolate the
war in another enviroment and replicate the problem?
On Wed, May 9, 2012 at 9:47 AM, Cl
On Wed, May 9, 2012 at 2:29 PM, domenec wrote:
> Hello and thanks beforehand for any response, pointer or simply reading.
>
> Without previous knowledge of Camel I was requested to support a customer
> who had "a Java application that does FTP's at scheduled times and eats up
> server resources, a
Hello and thanks beforehand for any response, pointer or simply reading.
Without previous knowledge of Camel I was requested to support a customer
who had "a Java application that does FTP's at scheduled times and eats up
server resources, and they have no source code".
OK, I inspected the WAR, f
Yes, that's correct. I was placing the message on a JMS queue from the main
mina route, and the message was being transformed. This was the stumbling
block for me. I just wanted the original message to be unaltered on the main
mina route so that I could create the ack/nak at the end of the mina rou
I'm trying to ftp a file to a remote ftp server but I can't figure out how to
specify the remote file name without changing the local file name.
e.g. I have a file called a.txt. I would like to ftp it to a remote host
with a file name b.txt. When the ftp completes, I still want to be able to
refer
Generally an issue regarding locking I can exclude because the file is always
moved to the .done directory instead of .error.
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5697111.html
Sent from the Camel - Users mailing list arch
Thanks, Ill have a look.
Cheers, James
On 9 May 2012 12:32, James Morgan wrote:
>
>
> On 9 May 2012 11:35, Claus Ibsen wrote:
>
>> Hi
>>
>> You can also take a look at notify builder, which allows you to
>> testing alike a "black box"
>> http://camel.apache.org/notifybuilder.html
>>
>> And the
On 9 May 2012 11:35, Claus Ibsen wrote:
> Hi
>
> You can also take a look at notify builder, which allows you to
> testing alike a "black box"
> http://camel.apache.org/notifybuilder.html
>
> And then there is advice with, where you can adjust the route before
> testing, and inject mocks, and wha
Hi Jonathan,
I like your implementation and yes my original implementation overlooks that v1
messages may have variables bindings. I think your patch should be applied as
the fix.
Regards,
Ed
From: Jonathan Barber [jonathan.bar...@gmail.com]
Sent: May 8
On Wed, May 9, 2012 at 1:04 PM, Hilde wrote:
> The files being processed with camel afterwards are not moved to that
> directory programmatically but also droped in the directory manually. As a
> result there can no open file stream remain.
>
Read about the read-lock strategies you have at
http:/
The files being processed with camel afterwards are not moved to that
directory programmatically but also droped in the directory manually. As a
result there can no open file stream remain.
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp568
Hi
You can also take a look at notify builder, which allows you to
testing alike a "black box"
http://camel.apache.org/notifybuilder.html
And then there is advice with, where you can adjust the route before
testing, and inject mocks, and whatnot
http://camel.apache.org/advicewith.html
And some g
Hi
I logged a JIRA to improve this
https://issues.apache.org/jira/browse/CAMEL-5262
On Wed, May 9, 2012 at 12:25 PM, Claus Ibsen wrote:
> Hi
>
> You can reconfigure the simple language to use different start/end tokens.
>
> But that said, we should probably relax the check for token pairs to
>
Hi Claus,
Yes, relaxing the check for end tokens or an escape character would work
fine, for now I think we might have to just stick with what we have.
Is it worth rasing a JIRA issue on this?
David
--
View this message in context:
http://camel.465427.n5.nabble.com/Translating-route-exceptions
On Wed, May 9, 2012 at 11:06 AM, Hilde wrote:
> Hello Claus!
>
> Can you tell me definitely whether my camel configuration causes the issue
> or it's inside the Apache Camel 2.9.0 version?
>
No I cannot. You have to dig yourself.
When on Windows then make extra care to ensure to close file strea
Hi,
Regarding the namespace and Camel 2.9
I tried also the Streaming version of the splitter:
...
The token has to be the exact String of the XML instance:
If the element in the instance is ; the token works but if the
namespace is defined at a higher level, the split does not occur.
Hi
You can reconfigure the simple language to use different start/end tokens.
But that said, we should probably relax the check for token pairs to
not complain for end tokens } without a starting token ${.
As thats the case in your JSON example.
Likewise we could consider having an escape charac
Hi we have a route in camel for an HTTP Rest endpoint that returns JSON with
the following exception handling to convert exceptions in the route to JSON
org.springframework.security.access.AccessDeniedException
true
403
CAMEL-5261.
Thomas
2012/5/9 Claus Ibsen
> On Tue, May 8, 2012 at 6:12 PM, Thomas Johansen wrote:
> > Hi again,
> >
> > The problem goes for both seda and vm. BUT I discovered that the problem
> > only arises when the vm/seda route is adviced with
> > interceptSendToEndpoint(). And still only o
Adding the namespaces attribute would be a good idea, especially in OSGi
environment.
It would be more flexible than static XML declaration.
As a user it would make more sense to define it once, ie at the Route level, to
avoid too much XML verbosity, if you have tens of xpath expressions, but a
Ok :) i´ve already created a JIRA ticket
https://issues.apache.org/jira/browse/CAMEL-5260
--
View this message in context:
http://camel.465427.n5.nabble.com/LDAP-Component-lose-headers-tp5696602p5696862.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello Claus!
Can you tell me definitely whether my camel configuration causes the issue
or it's inside the Apache Camel 2.9.0 version?
Best regards
Hilde
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-file-move-and-moveFailed-tp5685631p5696843.html
Sent from the C
On Wed, May 9, 2012 at 8:49 AM, anaCortes wrote:
> Hi all,
>
> I´m working with the Camel LDAP component. As we can read in the
> http://camel.apache.org/ldap.html LDAP page "The result is returned in the
> Out body".
> I´ve seen in the code of LdapProducer.java (process method), that we only
> h
Hi
Are you using the CXF-RS producer from Camel, eg you do
from file
to cxfrs
The cxfrs currently doesn't support the async routing engine by nature
http://camel.apache.org/asynchronous-routing-engine.html
And therefore it blocks while waiting for the reply message.
Frankly it ought to be pos
On Wed, May 9, 2012 at 9:17 AM, PAC Kieffer Guillaume
wrote:
> Hi,
>
> The Xpath for the Splitter works perfectly with Camel 2.9.2! :)
> imo the problem was related to the processing of Namespace prefix within an
> OSGi environment...
> Maybe the combination of Karaf + Camel + Blueprint + Namespa
On Wed, May 9, 2012 at 9:15 AM, emb wrote:
>
> Claus Ibsen-2 wrote
>>
>> Did you use the jre.properties.cxf?
>> eg to replace that with the existing jre.properties.
>>
>
> Yes I did. I deployed camel-example-cxf-osgi to test the installation. And
> it worked fine.
>
>
> Claus Ibsen-2 wrote
>>
>> A
cgiera wrote
>
>
> I've looked for some more information in the camel-users forum and I've
> found the following:
> http://camel.465427.n5.nabble.com/Bean-component-BeanInfo-thread-safety-td3387197.html
>
>
Also the changes of the MethodInfo class in CAMEL-3670 doesn't solve the
problem.
--
Hi,
The Xpath for the Splitter works perfectly with Camel 2.9.2! :)
imo the problem was related to the processing of Namespace prefix within an
OSGi environment...
Maybe the combination of Karaf + Camel + Blueprint + Namespaces lead to this
specific issue.
Regards,
Guillaume.
-Original Me
Claus Ibsen-2 wrote
>
> Did you use the jre.properties.cxf?
> eg to replace that with the existing jre.properties.
>
Yes I did. I deployed camel-example-cxf-osgi to test the installation. And
it worked fine.
Claus Ibsen-2 wrote
>
> And after installing all the bundles and whatnot. Have you t
63 matches
Mail list logo