On 20/09/2012 17:53, surya theva wrote:
Hello,
I am new to Camel, I am looking for a example that every day at 12 am my
application need to login into ftp server to get the encrypted files.
Is there any example I can follow?
Regards,
ST
I have a separate system that runs Quartz in a clustered c
On 12/07/2012 01:18, helander wrote:
What is the current state regarding running the Camel Web Console in OSGi?
Is someone working on this or is it already available ?
/Lars
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Web-Console-and-OSGi-tp5715906.html
Sent from t
On 27/09/2011 01:26, aedwards wrote:
I know this is late on this post... but This would be a nice feature.
Curious if there has been any progress?
Also, another really great feature would be if the camel-web application
could use the jmx endpoints to communicate with camel-contexts so that the
w
Thank you Willem, that works.
My call is now:
return template.requestBodyAndHeaders( this.groupsUri,
new Object[0], headers, String.class );
and I get the expected response.
The "ping" operation is just a test one, but now it means I can make my
test use much more of my main co
Claus,
I /think/ I fixed some relative URL issues in my patch for CAMEL-3519 (I
tested it embedded and in OSGi).
Jim
On 08/09/2011 15:34, Claus Ibsen wrote:
On Thu, Sep 1, 2011 at 5:57 PM, boday wrote:
hmmm...I'd think those paths would be relative to the web app context...not
sure why you
Hi,
In an OSGi environment, is there any way to force all Camel Contexts to
use MDC logging ?
Is there any kind of event I can listen for that gets called early
enough to configure the context before it is used?
The aim of this is to simplify the configuration of each context.
Thanks
Jim
Hi,
For what I'm doing I need to correlate between an outer Exchange and one
initiated via a ProducerTemplate.
At the moment I'm manually adding the correlation ID as a header when
the message is sent and then pulling it out and setting it on the child
Exchange.
This is nasty, and I'm thinki
, 2011 at 07:56:15AM +0100, Jim Talbut wrote:
Just read the 2.8.0 release notes, could I use MDC for this?
It's not currently enabled on my context, but I'll be using either Pax
or logback so I can enable it.
If so, what excellent timing, thank you :)
Jim
On 26/07/2011 07:43, Jim Talb
Just read the 2.8.0 release notes, could I use MDC for this?
It's not currently enabled on my context, but I'll be using either Pax
or logback so I can enable it.
If so, what excellent timing, thank you :)
Jim
On 26/07/2011 07:43, Jim Talbut wrote:
Claus,
That's useful, it
ines logic
POJO I'll run into threading issues (it may be called concurrently).
Thanks
Jim
On 26/07/2011 07:06, Claus Ibsen wrote:
On Tue, Jul 26, 2011 at 7:39 AM, Jim Talbut wrote:
Hi,
I have a POJO that benefits from having a non-Camel interface (it means I
can know that the
Hi,
I have a POJO that benefits from having a non-Camel interface (it means
I can know that the interface matches that of a given web service).
Internally this POJO needs to extract a couple of properties from the
Exchange.
Is there any way to get the "currently executing Exchange" without
Just to say thanks to Claus and Ben.
I've ended up using @Producer with a direct component - it's not totally
free of Camel, but it has to have some kind of non-POJO thing in there
so that's OK.
Jim
On 14/07/2011 05:24, Claus Ibsen wrote:
On Wed, Jul 13, 2011 at 6:07 PM, James Talbut wrote:
Hi,
I want to log the "on the wire" data seen by CXF, which I can do with a
CXF interceptor, but I want to be able to correlate that log with the
state of the Camel Exchange at that point.
What I really want is a cross between a CXF interceptor and a Camel
TraceEventHandler, but that's not pos
Hi,
In the claim check example (http://camel.apache.org/claim-check.html)
the 'unwanted' information is placed in persistent storage and a tag is
added to the exchange.
What are the merits of doing this as opposed to simply storing the
information in the exchange?
i.e.:
exchange.setProperty(
Hi,
I want to provide a single web service that makes calls to two separate
web services.
The arguments for the two services are different and some of them are
independent, so the service I offer will have a combined argument list,
and I need to do a couple of transformations to generate the a
Hi,
Is there any chance of getting my patch for CAMEL-3519 into trunk before
2.8.0?
I know it's quite a big change to review and I'm sure all the committers
have a ton of others things to work on.
Thanks
Jim
n Fri, Jun 10, 2011 at 9:14 PM, Jim Talbut wrote:
I think both the test in camel-jetty and the code in camel-http are wrong.
In camel-http (DefaultHttpBinding) we have:
protected void populateAttachments(HttpServletRequest request,
HttpMessage message) {
// check if there is multipart
pply a right mime.types file in your
environment.
[1]http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/javax/activation/MimetypesFileTypeMap.java#MimetypesFileTypeMap
On 6/11/11 3:14 AM, Jim Talbut wrote:
I think both the test in camel-jetty and the code in cam
ectly (though I
couldn't work out where to get it from).
We'd then have to fix the test to check for the correct content-type.
2. Remove the assertion from the test.
Jim
On 10/06/2011 07:20, Jim Talbut wrote:
On 09/06/2011 19:54, Jim Talbut wrote:
On 09/06/2011 15:32, James Talb
On 09/06/2011 19:54, Jim Talbut wrote:
On 09/06/2011 15:32, James Talbut wrote:
On Thu, Jun 09, 2011 at 10:13:00PM +0800, Willem Jiang wrote:
Maybe it relates to the openjdk.
Can you try the latest SUN/Oracle JDK 1.6 to run the test ?
That's possible, I should be able to try later
On 09/06/2011 15:32, James Talbut wrote:
On Thu, Jun 09, 2011 at 10:13:00PM +0800, Willem Jiang wrote:
Maybe it relates to the openjdk.
Can you try the latest SUN/Oracle JDK 1.6 to run the test ?
That's possible, I should be able to try later today.
I've also tried on Windows 7 and that works
On 09/06/2011 05:40, Claus Ibsen wrote:
Hi
Yeah. We have not seen this error on the other OS.
Do you get this error if you run the test multiple times?
On Wed, Jun 8, 2011 at 9:21 AM, Jim Talbut wrote:
Environmet:
Apache Maven 2.2.1 (rdebian-4)
Java version: 1.6.0_22
Java home: /usr/lib/jvm
Environmet:
Apache Maven 2.2.1 (rdebian-4)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.38-8-generic" arch: "amd64" Family: "unix"
Source:
URL: https://svn.apache.org/repos/asf/camel/trunk
Reposito
On 26/05/2011 13:13, James Strachan wrote:
On 26 May 2011 12:57, Jim Talbut wrote:
Yeah. How about /camel/{contextId}/routes/{routeId}
I picked /camel as the root URI for all contexts so that we can then
mix this web app with other web apps showing other things without
clashing
James
I
Some time ago someone wrote here about an actual SMTP listener component
for Camel, I think it was part of Apache James.
The project that made me interested in it got canned, so I don't know
whether it ever vecame usable.
Jim
On 26/05/2011 21:57, Donald Whytock wrote:
from("pop3://m...@emailh
On 26/05/2011 11:51, James Strachan wrote:
Also we don't need to rewrite camel-web just to provide support for
multiple contexts; all thats really required is one or two resource
beans using the OSGi or JMX API to discover the contexts and a
template page or two and multiple contexts could be sup
Tarun,
I'm just another user, but I've recently been trying to turn camel-web
into something that suits my needs.
There are certainly problems with camel-web, but I'm not convinced that
Tarun's heading in completely the right direction.
The two big problems with camel-web for me are:
1. I u
Hi,
Is there any way to attach a route (from one spring XML file) to a
camelContext (defined in another at an earlier time)?
I'm thinking, for example, of an OSGi situation where I want to add a
route to a predefined context without writing code.
Is there any fundamental reason why there couldn
On 17/02/2011 11:58, Naira & Kobo wrote:
I am curious, is it the TraceEventHandler that impedes the performance or
the TraceInceptor or the InterceptStrategy?
Well it's definitely not the TraceEventHandler, because unless you
provide one, there isn't one.
Beyond saying that if you want a defin
On 17/02/2011 11:21, Naira & Kobo wrote:
Thanks a lot for your response.
Whats is the name of the default trace event handler used by camel tracer?
I 'd like to take a look at that class and see how I can optimize it.
I will actually prefer if messages intercepted and logged in a separate
thr
On 17/02/2011 10:01, Naira & Kobo wrote:
Hi,
I noticed that extending the camel tracer to log exchange data into the
database impedes performance on the ESB.
I followed the example in the camel samples, where I defined a direct
endpoint
http://ca
Does the camel-web allow management of multiple camel contexts (yet)?
Without that I'm intrigued as to how it's being used with OSGi - a
separate OSGi process for each camel context?
Jim
On 03/02/2011 09:28, Claus Ibsen wrote:
On Wed, Feb 2, 2011 at 7:19 PM, Bengt Rodehav wrote:
I mostly u
On 25/06/2010 06:17, Claus Ibsen wrote:
I think the reason is the scheduler is started before the other routes
has been fully started. And quartz starts very quick.
We could add an option so you can configure a delay option so it can
be started with delay.
It has a startDelayed method:
http://ww
a Feature to support Spring 3.x and Spring 2.5.x
at the same time.
Maybe we can create a new feature in camel which uses the Spring 3.x
directly, in this way we don't need to wait for Karaf.
Willem
Jim Talbut wrote:
Hi,
When will the camel features.xml file for Apache karaf support S
Hi,
When will the camel features.xml file for Apache karaf support Spring 3.X?
I'm guessing that the answer is: when Karaf supports Spring 3.X itself.
It would be useful to have the option now, as it is in order to use
Spring 3.X in Karaf I have to manually hack a few features files.
Thanks
On 03/05/2010 18:00, Norman Maurer wrote:
Hi Jim,
sorry for the delay.. Job was just crazy over the last week. Anyway
are you still interested in a smtp camel component ? I'm currently
writing the code and will have it avaible soon. Maybe there is a place
in camel itself for it ?
Bye,
Norman
ss it via camel route without use JMS at all. Maybe this is what
you are looking for ?
Bye,
Norman
2010/4/20 Jim Talbut:
Is there a camel smtp server component?
i.e. I want to recieve mails via SMTP and then pass them on to the route, not
have them stored in a mail server and picked up by
Is there a camel smtp server component?
i.e. I want to recieve mails via SMTP and then pass them on to the route, not
have them stored in a mail server and picked up by a POP/IMAP poll.
If not, is there any reason for the absence other than the lack of a suitable
library?
Thanks
Jim
Following an "svn up" (to 933112) this morning, I'm seeing a failure in
HawtDBAggregateLoadAndRecoverTest..
I haven't looked into this further yet (working over remote desktop, not
entirely pleasant).
This is with a virgn codebase, I haven't got any changes in it.
When I just ran the test by its
Hi,
I'm working on this: https://issues.apache.org/activemq/browse/CAMEL-2563
and I want to have a unit test for it that tests that I can configure
the tracer using spring, but I don't think this is possible.
Am I right?
All the tests I can find using spring reference one or more of
camel-tes
On 26/03/2010 08:12, Claus Ibsen wrote:
Its your stupidity to store files you want to keep in the TEMP folder.
I don't see much point in hurling abuse about it: you accept that your
code shouldn't delete files that it didn't create and I'll accept that I
ought to organise my files better.
On 25/03/2010 08:02, Claus Ibsen wrote:
Well the temp folder is there for a reason since its a temp folder. If
you want to keep stuff use a NON temp folder :)
That's just a joke isn't it - the folder C:\Temp is not %TMP% or %TEMP%;
there is nothing giving an application permission to delete
Hi,
Building camel from source on Windows (Vista 64 bit) deletes everything
in C:\Temp\*
I think it's one of the unit tests but a quick look hasn't shown up which.
That is a major bad thing for it to do - it's deleted lots of things
from my machine that I did not want to lose.
Jim
Hi,
I'm no expert on this, but have you tried setting it as an exception
instead?
This is working for me:
public class SoapFaultConversionProcessor implements Processor
{
private static final String ANONYMOUS_FAULT_STRING = "An unexpected
error has occured.";
private static final Logger
TracedExchange method was removed a bit later. I
have adde a ticket to track this
https://issues.apache.org/activemq/browse/CAMEL-2556
On Wed, Mar 17, 2010 at 7:06 PM, Jim Talbut wrote:
I'm sorry, but I'm afraid I must be missing something.
You say "just use your own JPA code to
your own JPA code to persist the message instead of
the out of the box feature.
On Sat, Mar 13, 2010 at 9:54 AM, Jim Talbut wrote:
On 13/03/2010 07:36, Claus Ibsen wrote:
On Sat, Mar 13, 2010 at 8:27 AM, Jim Talbut
wrote:
Willem,
Ah.
I still have no idea how the TypeConve
On 13/03/2010 07:36, Claus Ibsen wrote:
On Sat, Mar 13, 2010 at 8:27 AM, Jim Talbut wrote:
Willem,
Ah.
I still have no idea how the TypeConverter is being called, but it's working
great :).
I can make my SOAP:Fault converter into an interceptor, which has the
benefit of making the r
eed to add
TypeConverter[2] to turn the CxfPayLoad object into String.
[1]http://svn.apache.org/viewvc?rev=920708&view=rev
[2]http://camel.apache.org/type-converter.html
Willem
Jim Talbut wrote:
Thanks Willem.
Whilst that change will solve my particular problem, wouldn't it be
bet
mation, it just redirect the input stream.
PAYLOAD and POJO DataFormat will give you the exception that you want.
Willem
Jim Talbut wrote:
On 07/03/2010 20:08, Jim Talbut wrote:
exchange.getIn().On 07/03/2010 07:05, Claus Ibsen wrote:
Hi
You can enable the soapFault=true on the CamelCont
t the input stream.
PAYLOAD and POJO DataFormat will give you the exception that you want.
Willem
Jim Talbut wrote:
On 07/03/2010 20:08, Jim Talbut wrote:
exchange.getIn().On 07/03/2010 07:05, Claus Ibsen wrote:
Hi
You can enable the soapFault=true on the CamelContext which turns
faults
On 07/03/2010 20:08, Jim Talbut wrote:
exchange.getIn().On 07/03/2010 07:05, Claus Ibsen wrote:
Hi
You can enable the soapFault=true on the CamelContext which turns
faults into exceptions.
Or you can simply add a processor step at the end of your route, and
check if the exchange is a fault
exchange.getIn().On 07/03/2010 07:05, Claus Ibsen wrote:
Hi
You can enable the soapFault=true on the CamelContext which turns
faults into exceptions.
Or you can simply add a processor step at the end of your route, and
check if the exchange is a fault
public void process(Exchange exchange) {
b
Hi,
I have a route that looks like this:
from( sourceEndpoint )
.onException( java.lang.Throwable.class
).process( new Processor() {
public void process(Exchange exchange)
throws Exception
{
53 matches
Mail list logo