Hello Hadrian,
I'm not really interested in the blame issue. I'm really glad that there
are so many competent people developing Camel which I think is a great
product. It might be interesting, though, to see how long the bug has been
there and what versions are affected.
I've also been thinking w
--
View this message in context:
http://camel.465427.n5.nabble.com/What-the-main-Difference-between-Stoppping-the-Route-and-Suspending-the-Route-tp5732059.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You can use your own messageConverter with the camel-jms component and
do all the to/from JMS yourselves. This is of course too much work.
But that gives you full power.
You can use interceptors to match when sending to jms, where you can
then transform the header to a valid JMS type.
And then hav
Hi
If you have a copy of Camel in Action, then see page 150.
If you want to do in XML then you can possible do
${exception.message} contains 'connect to'
But you can also use a java bean
public static boolean
isConnectError(GenericFileOperationFailedException cause) {
...
}
On Mon, M
Thanks clause. Have follow up question.
Currently I see two below exceptions in FTP
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
connect to OR
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
store file:
But I am not sure about which p
Thank you for the reply.
Is there a way to make the type converter work for camel header?
Currently, I have a camel processor to reset the base64 shiro token to
ByteSource, on the side where authentication has to be done
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can
You can use in the and use a predicate to check
if you want to react or not. The GenericFileOperationFailedException
ought to have a getCode / getReason() or something that returns the
FTP error code.
On Mon, May 6, 2013 at 7:30 AM, sarfaraj wrote:
> Hi,
>
> I am using camel-ftp (2.10.4) in m
Hi,
I am using camel-ftp (2.10.4) in my camel application(camel-route).
If the ftp related error occured like wrong credential or incorrect IP then
it throws
"org.apache.camel.component.file.GenericFileOperationFailedException"
exception.
I want to retry 3 times if FTP error occured, for that i
Hi
Yeah we could add a new option to camel-shiro to use base64 as a
String type for the token. Then that header is safely transferable
over JMS.
BytesSource has a toBase64 method, and as well a method to create a
BytesSource from a String. So that should be fairly easy to do.
org.apache.shiro.uti
Hi
Yeah well spotted.
Not sure if you need to logout the old users when you detect a new user?
Anyway fell free to log a JIRA ticket and attach a patch with the fix.
http://camel.apache.org/support
On Sun, May 5, 2013 at 3:40 PM, jethwani.bi...@gmail.com
wrote:
> Here's the code which I had t
Hi
Here is some pointers how to debug Camel routes
http://camel.apache.org/debugger.html
But in your case there must be more information in that stacktrace
that can tell you what the problem is.
As you use XML and XPath its 99% a problem with your xpath expression
not working. There is XML / XPat
I doubt if type converter works for camel header.
Has this camel shiro issue been resolved? It shouldn't actually be
ByteSource object??
Let me know I am kind of struck with this.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access
Thanks, it works.
--
View this message in context:
http://camel.465427.n5.nabble.com/Upgrade-from-2-10-2-11-0-tp5732017p5732045.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Here's the code which I had to re-work to make it work for
me.apache-camel-2.10.4ShiroSecurityPolicy.authenticateUser
*It was:* private void authenticateUser(Subject currentUser,
ShiroSecurityToken securityToken) { if
(!currentUser.isAuthenticated())
{ ...
We have been struggling with this issue for a while. I don't want to
replicate the post that I've already put on Stackoverflow. If someone can
give pointers about what's missing here I would really appreciate that.
.
http://stackoverflow.com/questions/16387729/exception-running-a-simple-websocke
I can avoid this issue by throttling the file polling by adding the following
options to the file uri:
initialDelay=3000&delay=1000&maxMessagesPerPoll=20.
It seems that the exception occurs in one of the following two situations:
1. When Camel polls the folder immediately after being started wh
Hi Claus and thanks for the info.
I will probably do as you suggest, I just wanted to make sure that there was
no out-of-the-box way provided by Camel before I went ahead :).
Thanks
Lasse
--
View this message in context:
http://camel.465427.n5.nabble.com/Skip-multiple-leading-lines-in-CSV-file
Hello,
I have the attached project.
The problem is I get an exception. I cannot catch this exception in the
Eclipse debugger to see what is wrong.
When I comment out the line: .setHeader("id",
xpath("/Product/id/text()")).log("id = ${in.header.id}")
it works.
When I leave it in it does not
Hi Claus,
Thank you for the quick response.
You basically advice to use a bean to do the enriching.
Is it not possible to use more of the build in functionality of Camel to do
the job. Inside the bean I need to write a lot of code to lookup the correct
element based on the id and add the addit
camel-ldap can only do searches.
There is a camel-spring-ldap that can do more.
http://camel.apache.org/spring-ldap
You can check out its unit tests to see some examples
https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-ldap/src/test/
The spring-ldap component uses the Spring
Hi
You can use a java bean in the camel route, and then maybe use
java.util.Scanner or InputStream, to position the stream where you
want to start.
If its a common use-case we can consider some Camel expression /
function to a language / etc. so it configurable even easier. For
example some peopl
Hi
Yeah you can configure the file endpoint with poll every X time, and
limit the poll to Y files.
eg you can set these options
delay=2m
maxMessagesPerPoll=200
notice 2m is shorthand for 2 minutes.
The file component is documented here
http://camel.apache.org/file2
On Sun, May 5, 2013 at 10:
Thanks Clause, My next query is can we be able to restrict the incoming file
by polling the files to say ~200 Files for every 2 mins .
Thanks
Shan
--
View this message in context:
http://camel.465427.n5.nabble.com/IS-the-File-polling-possible-in-CAMEL-tp5732019p5732030.html
Sent from the C
Typhus is the ri bus integrating with tomcat/jetty when deployed in them is
better too
Le 5 mai 2013 07:48, "Claus Ibsen" a écrit :
> Hi
>
> Yeah using the websocket jsr would be a good idea. I would assume
> Atmosphere implements the JSR or will do.
> Though if there is another library than Atmo
Please help in implementing following use case.
Step1: I receive one XML file. I use some ETL tool to parse the XML file and
store the data of XML in database table as it is.
My question is how to trigger a camel route using values from database table
populated in step1. Any directions/approach
My use case is as follows:
Step1: As soon as a xml file arrives in one hot folder(Say directory A), I
need to read some fields in that XML file. Structure of XML file is provided
below.
After reading the jobId field from XML file, I need to get the corresponding
''jobname'' from a database table
26 matches
Mail list logo