Thanks. I have remove it from the docu.
--
View this message in context:
http://camel.465427.n5.nabble.com/The-CAMEL-FTP-connector-documentation-tp3307915p3308997.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi All,
Below is the solution that I used to integrate JAXB with apache camel and to
resolve class-loading problem in OSGI:
1. I have written separate bean class to resolve Jaxb-Context something
like:
public class JAXBContextResolver {
private static Logger log = Logger.getLogger(JAXBCont
Use Java code, for example invoke a bean or Processor where you can
"reset" the map.
Or use some of the scripting languages if you want to do it from XML
http://camel.apache.org/languages.html
for example Groovy, JavaScript etc.
On Fri, Dec 17, 2010 at 4:05 AM, Bingliu wrote:
>
> Hi, I user a m
I'm now working off 2.6-SNAPSHOT.
To get around the onException/aggregate.groupBy DSL warning AND put the
onException at the start of the route, I moved the actual send to the web
service to it's own route. Unfortunately, I don't seem to be able to trigger
the onException handling while testing t
I have created some unit tests and cannot reproduce this issue.
http://svn.apache.org/viewvc?view=revision&revision=1050041
Camel will delete any existing files.
There is even an option eagerDeleteTargetFile you can decide to do
this eager (= asap) or later (after writing the temporary file).
Hi,
When I used a standalone CXF web service, I used to be able to extract the
remote IP address in my Impl class. CXF would inject a WebServiceContext
object in my Impl class and I would have the class as follows:
public class MyWSImpl implements IMyWS {
@Resource
private WebSe
Hello
On the http://camel.apache.org/ftp2.html documentation, I read:
The *username* is currently only possible to provide in the hostname
parameter.
I've tried to give the username as URI option
(ftp://129.183.129.126?username=camel&password=camelpass) and it does
work. I even have the
Hi, Willem Jiang:
I think maybe the feature is not very ease to add;
Although we can temporary change the code of OSGIServiceRegistry to
enable osgi service filter. But the solution has such disadvantages:
1) the bean-name will be ugly , because it contains not only the
ser
Hi,
You need to set the cxfrs endpoint's service class with a class name
instead of interface name.
As you know JAXRS server need to instantiate the resource class when it
server the request.
Please change your camel route like this.
uri="cxfrs://bean:rsServer?serviceClass=edu.testco.sc.web.X
Hi Claus
"You can use a recipient list and construct a dynamic uri with the file
name you want to poll. And you can then provide an aggregration
strategy. For example the UseLatestAggregationStrategy. "
Can you elaborate on how this is done. I can't quite put the pieces together
to create what
Yes, Current Camel OSGi registry just grab the service from OSGi service
registry, it doesn't support the filter.
I think this feature is easy to add and please don't hesitate to
contribute your patch.
On 12/16/10 7:25 PM, ext2 wrote:
Camel Osgi registry doesn't support filter for services;
On Thu, Dec 16, 2010 at 12:49 PM, mikaelfj wrote:
>
> Just tried with 2.4 and 2.5 - they both seem to have the same problem as 2.2.
>
> At the second upload of the file to the FTP server, they throw this
> exception:
>
> org.apache.camel.component.file.GenericFileOperationFailedException,
> messag
Just tried with 2.4 and 2.5 - they both seem to have the same problem as 2.2.
At the second upload of the file to the FTP server, they throw this
exception:
org.apache.camel.component.file.GenericFileOperationFailedException,
message:Cannot rename file from: rename/.uploadingTest.REN to:
rename/
Camel Osgi registry doesn't support filter for services;
You'd better write your own processor to locate osgi services; it's not so
sophisticated , just do some reflecting works;
But if you do wish to use camel bean's features, the only way I know is
change the source code of CamelOsgiRegistry t
Hi - I looked through the release notes but couldn't see this mentioned
specifically - but I will give a later release a go - thanks
/Mikael
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-renaming-existing-file-in-FTP-tp3307670p3307746.html
Sent from the Camel - User
Hi
Try with a later release as the FTP component have been improved on
the times. I think we have fixes something similar like this in a
later release.
On Thu, Dec 16, 2010 at 11:05 AM, mikaelfj wrote:
>
> Hi,
>
> We are delivering files to an FTP server with the URI option
> tempPrefix=.upload
Thanks! Indeed the port was taken by JBoss.. I used a different port and it's
working now.
--
View this message in context:
http://camel.465427.n5.nabble.com/Cannot-create-JMX-connector-tp3304153p3307690.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
We are delivering files to an FTP server with the URI option
tempPrefix=.uploading and nothing set for the fileExists option, i.e. it
will default to override of an existing file.
However, if uploading, say, "file.txt" twice, the second upload will fail
with a rename error - as the renaming
Hi Sebastian,
thanks for the good explaination. However I do not have a problem with a
dynamic bean activation as such.
I was rather asking for a method to avoid the osgi reference tag, because
the wiring-component, that creates the routes from an external config should
not know about the beans i
On Thu, Dec 16, 2010 at 9:28 AM, Andreas A. wrote:
>
> If I use receiveNoWait() no files will be downloaded from the ftp, maybe
> because the the ftp component doesn't have time to login to the ftp?
> --
Ah yeah that is correct, there is no wait :)
That works better if you poll messages from a qu
If I use receiveNoWait() no files will be downloaded from the ftp, maybe
because the the ftp component doesn't have time to login to the ftp?
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3307566.html
Sent from the Camel - User
Maybe try using a different port number than the default, which may
already be taken by someone else.
And try Camel 2.5.0 also.
On Thu, Dec 16, 2010 at 7:12 AM, tan wrote:
>
> Btw I'm using Camel 2.4.0
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Cannot-create-JMX-co
Yes, camel 's OSGIServiceRegistry doesn't support filter yet;
If your services use same interface, I think recipient list pattern cannot
be used, directly;
Maybe you can write a custom processor to invoke osgi services by your self;
But if you really like the bean feature supported by camel, you
23 matches
Mail list logo