Re: Java DSL with FUSE ESB

2016-07-06 Thread Morgan Hautman
Hi souciance, The deploy folder in Apache Karaf is kind of not the ideal wat of doing it.. The best thing is to deploy it through the Karaf shell with mvn:../../.. for example. Regards, Morgan 2016-07-06 13:55 GMT+02:00 souciance : > I think if you just want

Re: [Cxf]Problem with the conduit selector

2016-03-19 Thread Morgan Hautman
Hi Fred, Per spec it is the intended behavior. ref: https://www.w3.org/TR/wsdl#_soap:binding https://www.w3.org/TR/wsdl#_soap:address Regards, Morgan 2016-03-17 20:19 GMT+01:00 Frederic Pirson : > Hello, > > I don't know if it is a concern for camel or cxf. > > >

Re: Set logging level for a particular bundle to ERROR

2015-08-18 Thread Morgan Hautman
Hi, Take a look at the sift appender. Ref: https://karaf.apache.org/manual/latest/users-guide/log.html Regards, Morgan 2015-08-18 14:21 GMT+02:00 Satyam Maloo maloosat...@gmail.com: How do I set the logging level for a particular bundle to ERROR mode but the other bundles should be in

Re: Camel Servlet REST and OSGi Blueprint example

2015-07-06 Thread Morgan Hautman
Hi, Hans, it depends on which version of Karaf you are ;) bundle:list is in Karaf 3 4. osgi:list is in Karaf 2 ;) Regards, Morgan On 6/07/2015 12:35, Hans Loven wrote: **I think you mean osgi:list (and typically it is 'aliased' to simply list as well). Cheers Hans Pardon the brevity, Sent

Re: Comparison of Apache Camel and IBM Integration Bus v9.0

2015-05-01 Thread Morgan Hautman
Hello, I think for the most part you did a good job but IMHO I really don't understand how you can make a comparison of both when you say : Since IB9 is a full fledged ESB, it allows developers to deploy their routing and mediation logic onto integration nodes which host integration servers

Re: Trying to send email from Camel and having no success. Please help.

2015-04-21 Thread Morgan Hautman
The answer of your question is in my answer I already posted. mvn camel:run On 21/04/2015 18:40, kook04 wrote: I actually have not tried that. I'm not quite sure how. As I've said, I'm new to Camel (and Maven for that matter). Is there some easy way to accomplish this? Thank you -- View

Re: Trying to send email from Camel and having no success. Please help.

2015-04-20 Thread Morgan Hautman
I just tried with a fresh ServiceMix 5.1.4 and it works sending mail. Are you sure you got Camel-mail as Active?: [ 206] [Active ] [] [ ] [ 50] camel-mail (2.13.3) try to run your code you have written with mvn camel:run and see if the problem still persists. Regards

Re: synchronizing multiple processes in a camel route

2015-04-20 Thread Morgan Hautman
Hi, A Processor is synchronous. Regards, Morgan On 20/04/2015 16:35, anish wrote: How can we synchronize the processes in a camel route? I want to execute all the processes defined in a camel route to get executed in a single shot. In the below camel route, I want to execute the processes

Re: Trying to send email from Camel and having no success. Please help.

2015-04-20 Thread Morgan Hautman
Hi, Which version of ServiceMix are you using? Regards Morgan On 20/04/2015 15:30, kook04 wrote: Claus, Thank you for your speedy response. I must apologize because I meant to state in the original post that I have already done that. I've installed the camel-mail feature and have confirmed

Re: Seconds since 1970

2015-04-17 Thread Morgan Hautman
Hi Angelo, in a procesor you could do System.currentTimeMillis(); http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#currentTimeMillis%28%29 Regards, Morgan On 17/04/2015 13:27, Ângelo Costa wrote: Hi Guys, anyone know in camel how i can get current seconds since 1970? in Long

Re: Math operations with simple expression

2015-03-26 Thread Morgan Hautman
Hi Angelo, Could you split you're questions in different threads? This is easier to follow and each thread is so problem specific. Regards, Morgan On 26/03/2015 12:45, angelo.rlcosta wrote: Thanks Claus. Another question, i am looking at http://camel.apache.org/splitter.html and thinking if

Camel-ftp timeout

2015-03-17 Thread Morgan Hautman
Hi guys, I'm trying to connect to an ftp but it doesn't retreive anything from the directory. I'm able to connect via FileZilla and download the file(s) but not with camel. from(ftp://user@host:21/in?password=***;) When you use Filezilla you can query a map or a file and right click on it

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Morgan Hautman
to work. Thank you all! Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach CH-5405 Baden-Dättwil +41 (0)56 470 03 37 c.eugs...@docuteam.ch Am 11.03.2015 um 11:20 schrieb Morgan Hautman morgan.haut...@gmail.com: Hi Christian, I think that on Mac there is a problem

Re: Error when executing: install -s mvn:com.packt/sample

2015-03-11 Thread Morgan Hautman
Hi Christian, I think that on Mac there is a problem with the 0.0.0.0 binding. Try in etc/org.apache.karaf.management.cfg to change 0.0.0.0 to 127.0.0.1 On 11/03/2015 11:12, Christian Eugster wrote: Hi Achim, as I wrote before, I succeeded to bundle:install another bundle. But maybe this

Re: HTTPS endpoint polling Camel

2015-03-10 Thread Morgan Hautman
Hello, You can always check the camel website. (http://camel.apache.org) But in your case you should need this: http://camel.apache.org/http.html On 9/03/2015 19:18, divakar109 wrote: Hi guys, I am extremely new to Camel, I need to configure an HTTPS endpoint in camel so that I could consume

Re: Camel M2M gateway project

2015-03-04 Thread Morgan Hautman
Hey Henryk, This seems to be a great idea you got there! :) Regards, Morgan On 3/03/2015 21:36, Henryk Konsek wrote: Hi, For those interested in the Internet Of Things and M2M - I started a small project called Camel M2M gateway [1]. I want it to be the landing page for the Camel enthusiast

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Frank, http://stackoverflow.com/questions/10301895/calling-cxf-webservice-through-apache-camel Regards, Morgan On 3/03/2015 9:27, Frankiboy wrote: Im using CXF, im would like to log the operation name. Is there a easy way to get the operation name, from the exchange or ? Frank -- View

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Jb, Sorry to correct you but the default dataFormat is POJO. Regards, Morgan On 3/03/2015 10:22, Jean-Baptiste Onofré wrote: Hi Frank, it depends the data format that you use on the CXF endpoint. Using the default data format (Message), you can retrieve the operation name from the

Re: Can i get the Operation name from camel.

2015-03-03 Thread Morgan Hautman
Frank, http://camel.apache.org/cxf.html SOAP headers are not available in MESSAGE mode as SOAP processing is skipped. So the answer to you question is yes. Regards, Morgan On 3/03/2015 11:02, Frankiboy wrote: Nt route starts like this:

Re: WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught org.apache.sshd.common.SshException: MAC Error

2015-03-02 Thread Morgan Hautman
Gary, You can find a file on your Fuse server, named |org.apache.karaf.log.cfg. This is where you will find the path to the log files. Send them to JB. Regards, Morgan | On 2/03/2015 22:23, Gary wrote: you know what, I am not sure I have what you are looking for, Jean, in the Fuse console how

Re: How to import camel in a java application program

2015-02-26 Thread Morgan Hautman
Hi, If you're using maven, dependency groupIdorg.apache.httpcomponents/groupId artifactIdhttpclient/artifactId version4.4/version /dependency On 26/02/2015 10:03, imranrazakhan wrote: Hi, I used same example but its giving following error public void configure() {

Re: Camel java dsl: try/catch+stop = finally is not evaluated

2015-02-13 Thread Morgan Hautman
stop() stops the route so i thinks in my opinion this is expected behavior. What happens if you remove stop() from doCatch() and put it at the end of the doFinally() ? On 13/02/2015 10:42, vasilievip wrote: I'm thinking to stop execution in case of exception, but I do want to perform some

Re: retryWhile predicate is not called on ftp connection failure

2015-02-11 Thread Morgan Hautman
Are you sure GenericFileOperationFailedException.class is thrown from the producer? Because it could be thrown by a producer(from()) but not by a consumer(to()) Try to catch Exception.class and log the exception you get with |Exchange.EXCEPTION_CAUGHT or some simple exceptions listed here:

Re: retryWhile predicate is not called on ftp connection failure

2015-02-11 Thread Morgan Hautman
Hello, Take a look at : https://github.com/apache/camel/blob/master/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionRetryUntilTest.java Hope it helps! Regards, Morgan On 11/02/2015 13:14, ekz wrote: Hi, I have an FTP route for consuming files and working fine.

Re: Camel can't Route Topic

2015-02-09 Thread Morgan Hautman
Hello Zaid, Since you're using ActiveMQ I recommend using this component: http://camel.apache.org/activemq.html On 10/02/2015 5:54, zbwadud wrote: Dear all, I am having issue with camel context route. My route should connect to topic and consume from topic but it always create and consume

Re: REST InOut with JMS InOnly

2015-02-05 Thread Morgan Hautman
didn't think of it myself. [ I have not yet tried wiretap in the code I'm asking the question about, will do shortly ] On 3 February 2015 at 13:20, Morgan Hautman morgan.haut...@gmail.com wrote: Yes I understand we can encounter a timeout when we don't respond to http/rest because it's

Re: All or Nothing with Multicast

2015-02-04 Thread Morgan Hautman
If you are working with queues you could send back to the message to the first destination who will be your queue (or a failure/ dead-letter queue) and process it again using an errorHandler for example. On 4/02/2015 17:10, dbougie wrote: I am trying to achieve an all or nothing, roll back

Re: camel-imap

2015-02-03 Thread Morgan Hautman
Mezai, Why don't you persist the last number you processed and put in a PropertyPlaceholder when polling again? http://camel.apache.org/using-propertyplaceholder.html Little example I made: beans xmlns=http://www.springframework.org/schema/beans;

Re: REST InOut with JMS InOnly

2015-02-03 Thread Morgan Hautman
months ago but didn't look further. On 3/02/2015 13:54, Claus Ibsen wrote: On Tue, Feb 3, 2015 at 1:27 PM, Morgan Hautman morgan.haut...@gmail.com wrote: Claus, Is their any way a queue (using activemq) could respond , like a request-reply mechanism? http://camel.apache.org/request-reply.html

Re: Camel Content Based Router

2015-02-03 Thread Morgan Hautman
Seems like you need some content based routing using xpath. http://camel.apache.org/content-based-router.html On 3/02/2015 13:00, akotako wrote: I made a camel route which contains an xml in an activemq queue.I want to route this xml according to a content property.How can i reach and make

Re: REST InOut with JMS InOnly

2015-02-03 Thread Morgan Hautman
Claus, Is their any way a queue (using activemq) could respond , like a request-reply mechanism? http://camel.apache.org/request-reply.html On 3/02/2015 13:14, Claus Ibsen wrote: Hi You can send the message to the JMS as InOnly or use WireTap On Tue, Feb 3, 2015 at 12:27 PM, James Green

Re: Reading the content of a file retrieved via FTP into memory

2015-02-02 Thread Morgan Hautman
Have a look at http://camel.apache.org/ftp2.html Le 2/02/2015 13:43, Simon Heinrich a écrit : How do I programmatically create a Camel route (using URIs where possible) to read a file from an FTP site and get the content into memory? -- View this message in context:

RE: Time consuming route starting at FTP endpoint

2015-01-09 Thread Morgan Hautman
Hi Neil, Maybe try to connect via SFTP since there is no data timeout value for it (under timeout option : For SFTP there is no data timeout.) http://camel.apache.org/ftp2.html Hope this helps! Regards Morgan -Original Message- From: neil Stevens [mailto:neilstevens2...@gmail.com]

RE: Recording events

2015-01-06 Thread Morgan Hautman
Hello James, Yes , this seems like a Wiretap . Maybe you should also copy your exchange if needed. http://camel.apache.org/wire-tap.html -Original Message- From: James Green [mailto:james.mk.gr...@gmail.com] Sent: dinsdag 6 januari 2015 14:55 To: users Subject: Recording events We're

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Morgan Hautman
, Morgan Hautman ( morgan.haut...@gmail.com) wrote: Hello all, I'm trying to implement a endpoint who can read an NMEA 0183 buffer using TCP. I already tried to implement it using a codec ( https://code.google.com/p/cellengine/source/browse/trunk/engine_java/002_Engine_Server/mina/com/net