trim for fixlength only trim one direction

2017-08-24 Thread Wilson MacGyver
Hi, I was noticing for bindy my fixedlength fields, where I set trim to true is no longer working then I spotted this https://github.com/apache/camel/blob/camel-2.19.2/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyFixedLengthFactory.java#L226 the problem is htt

@PropertyInject vs @Value in camel-spring-boot

2018-03-16 Thread Wilson MacGyver
Hi there, I'm using camel-spring-boot I add hello = world in my application.properties I notice if I use @PropertyInject("hello") private String hello I get Property with key not found in properties from text but if I use @Value("${hello}") it works. this surprise me, since I was under

Re: @PropertyInject vs @Value in camel-spring-boot

2018-03-18 Thread Wilson MacGyver
gt; > Can you post the stacktrace, and can you tell a bit about where you > put that @ProjectInject. > And what version of camel and SB are you using. And have you tried > with a newer version > > On Sat, Mar 17, 2018 at 6:03 AM, Wilson MacGyver > wrote: > > Hi there,

Re: @PropertyInject vs @Value in camel-spring-boot

2018-03-20 Thread Wilson MacGyver
> to do bean post processing as well, but under the assumption it was > not running with Spring (we can likely improve this in > CamelTestSupport). > > But you should either extend CamelSpringTestSupport or not extend a > base class at all. > > On Sun, Mar 18, 2018 at 7:37

Re: @PropertyInject vs @Value in camel-spring-boot

2018-03-20 Thread Wilson MacGyver
Oh really? So would you suggest I just don’t extend any base class at all? On Tue, Mar 20, 2018 at 10:53 AM Claus Ibsen wrote: > On Tue, Mar 20, 2018 at 3:21 PM, Wilson MacGyver > wrote: > > Oh I didn’t know that there was CamelSpringTestSupport! Thank you! Will > try > &

Re: @PropertyInject vs @Value in camel-spring-boot

2018-03-21 Thread Wilson MacGyver
ting. > > > > The issue you hit with CamelTestSupport is possible to fix, you can > > log a JIRA. I havent had found the time to fix it yet. > > And CamelTestSpringSupport could potentially be improved for running > > with Spring Boot too. > > > > > > > > On

Re: JSonPath expression works in online validator but not within Camel route

2016-04-29 Thread Wilson MacGyver
nothing came through as far as I can tell in your email for any of the example output On Fri, Apr 29, 2016 at 12:18 PM, catshout wrote: > Dear community, > > I've following JSON body > > > > the expression > > > > gives > > > > in an online JSonPath validator but an empty string in Camel. Any id

Re: New to camel

2017-01-17 Thread Wilson MacGyver
you can use the https://camel.apache.org/ftp.html component for sftp. I don't think there is a subversion component though. On Tue, Jan 17, 2017 at 8:30 AM, Radhika wrote: > Hi Team, > > Currenly in our project we are using Camel as the integration framework. As > part of our project, we will b

camel-test 2.18.3 not in mvn repo?

2017-03-14 Thread Wilson MacGyver
I noticed camel-test 2.18.3 is not in mvn repo, is there a reason? https://mvnrepository.com/artifact/org.apache.camel/camel-test Thanks, Mac -- Omnem crede diem tibi diluxisse supremum.

Re: camel-test 2.18.3 not in mvn repo?

2017-03-14 Thread Wilson MacGyver
st/2.18.3/ > > Cheers, > Taariq > > > On 14 Mar 2017 9:20 PM, "Wilson MacGyver" wrote: > > I noticed camel-test 2.18.3 is not in mvn repo, is there a reason? > > https://mvnrepository.com/artifact/org.apache.camel/camel-test > > Thanks, > Mac > &g

Re: camel-test 2.18.3 not in mvn repo?

2017-03-14 Thread Wilson MacGyver
Ah, thanks for the tip! On Tue, Mar 14, 2017 at 4:20 PM, Zoran Regvart wrote: > Hi Wilson, > before you do that, to save time, try `mvn -U ...` to force update > artifacts from Maven central repository, > > zoran > > On Tue, Mar 14, 2017 at 9:16 PM, Wilson MacGyver >

setPropertyPlaceholderLocations for apache camel main

2017-06-21 Thread Wilson MacGyver
I follow https://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html and use main.setPropertyPlaceholderLocations("example.properties"); to set my property file. but I run into Error: java: setPropertyPlaceholderLocations(java.lang.String) has protected access in org.apach

Re: setPropertyPlaceholderLocations for apache camel main

2017-06-23 Thread Wilson MacGyver
Thank you! On Fri, Jun 23, 2017 at 10:00 AM Claus Ibsen wrote: > Hi > > Thanks I logged a ticket > https://issues.apache.org/jira/browse/CAMEL-11441 > > On Wed, Jun 21, 2017 at 10:16 PM, Wilson MacGyver > wrote: > > I follow > > > > > https://camel.ap

using JPA to update database

2015-06-01 Thread Wilson MacGyver
Hi, here is what I'm trying to do, but I'm not sure if I'm on the right track or not. I have a inbound file that I want to process, and use it to either create or update existing rows in a table. I know I can do this using camel-jdbc, but I wanted to see if it can be done with jpa I know to use

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread Wilson MacGyver
I'm the opposite. I avoid XML, and use Java DSL exclusively. I really like the way it reads, and easy to test using camel test On Tue, Jun 9, 2015 at 10:48 AM Dan Moore wrote: > I also am a new user and tend to like XML. Maybe that will change as I get > used to Camel. > > I don't know of any au

Re: spring boot, jpa, entitymanagers and Java DSL

2015-06-15 Thread Wilson MacGyver
actually camel is pretty smart. if you create one and put it in the registry, it will find it by type and use it automatically. so in my startCamel code. I do this SimpleRegistry reg = new SimpleRegistry(); EntityManagerFactory factory = Persistence.createEntityManagerFactory("camel",properties

using spock to test camel

2015-07-02 Thread Wilson MacGyver
Hi, Has anyone ever used spock to test camel before? I notice only junit and test-ng are supported. I didn't know if anyone has ever tried it. Thanks, Mac -- Omnem crede diem tibi diluxisse supremum.

use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
I know camel has excellent support for maven. and even has a mvn plugin. has anyone ever used gradle with camel application development before? -- Omnem crede diem tibi diluxisse supremum.

Re: use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
dependencies. What problem do you > have? > > > On Thu, Jul 2, 2015 at 2:41 PM Wilson MacGyver > wrote: > > > I know camel has excellent support for maven. and even has a mvn plugin. > > > > has anyone ever used gradle with camel application development before?

Re: use gradle to build apache camel application

2015-07-02 Thread Wilson MacGyver
> > On Thu, Jul 2, 2015 at 2:52 PM Wilson MacGyver > wrote: > > > not really problem per se. just wanted to know how smooth it's working. > > > > for example, in mvn you can run camel by using mvn camel:run > > > > how do you do that with grad

Re: using spock to test camel

2015-07-03 Thread Wilson MacGyver
only downside I see is the limited refactoring capabilities the IDE > can provide resulting from it using groovy. > > Tim > > On 02/07/2015 16:08, Wilson MacGyver wrote: > > Hi, > > > > Has anyone ever used spock to test camel before? > > > > I notice on

Re: use gradle to build apache camel application

2015-07-03 Thread Wilson MacGyver
n my keyboard :-) > Tim > > On 02/07/2015 19:15, Rafael Ponte wrote: > > I'm working on a web project (with Camel integrated to Spring), so it's > > deployed on Tomcat container. > > > > On Thu, Jul 2, 2015 at 3:08 PM Wilson MacGyver > wrote: > >

action at the end of the split

2015-07-23 Thread Wilson MacGyver
Hi, I'm processing a large file. so I use .split and .streaming to process it a record at a time. I would like to send an email alert upon completion of processing the file. but I can't figure out where to do that. I know I can check to see if it's the last exchange using property "CamelSplitCo

Re: action at the end of the split

2015-07-23 Thread Wilson MacGyver
.end() to end the split block. > > On Thu, Jul 23, 2015 at 7:21 PM, Wilson MacGyver > wrote: > > Hi, > > > > I'm processing a large file. so I use .split and .streaming to process > it a > > record at a time. > > > > I would like to send an email

Re: action at the end of the split

2015-07-24 Thread Wilson MacGyver
ocessLine") > // do whatever you want to the line > > Jakub > > On 23/07/15 19:03, Claus Ibsen wrote: > >> You must be doing some more inside the splitter and you may need 2 x end >> >> On Thu, Jul 23, 2015 at 7:45 PM, Wilson MacGyver >> wrote:

Re: action at the end of the split

2015-08-06 Thread Wilson MacGyver
2:03 PM, Claus Ibsen wrote: > You must be doing some more inside the splitter and you may need 2 x end > > On Thu, Jul 23, 2015 at 7:45 PM, Wilson MacGyver > wrote: > > hmm, if I understand you correctly, this isn't working for me. > > > > I have > >

Re: action at the end of the split

2015-08-09 Thread Wilson MacGyver
pache Member > V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer > Apache Incubator PMC Member > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > > On Thu, Aug 6, 2015 at 5:26 PM, Wilson MacGyver > wrote: > > > I figured out what I was d

Re: action at the end of the split

2015-08-10 Thread Wilson MacGyver
2 > > Best, > > Christian > - > > Software Integration Specialist > > Apache Member > V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer > Apache Incubator PMC Member > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > &

Re: action at the end of the split

2015-08-14 Thread Wilson MacGyver
t;splitsize". Ok, this assignment is made more than once > redundantly per each splitted element, but header properties you create on > the original message are retained (hopefully :-) > > Jens > > Von meinem iPhone gesendet > > > Am 10.08.2015 um 21:49 schrieb Wilson Mac

Re: action at the end of the split

2015-08-14 Thread Wilson MacGyver
e > "Input/Output Headers". > Many endpoints and processors do not pass ahead the received headers. If > you put it on the Exchange properties it will exist through the whole life > cycle of the request. > > Best regards, > > Luis > > 2015-08-14 17:49

Re: action at the end of the split

2015-08-16 Thread Wilson MacGyver
er the > end(). > > Best, > Christian > - > > Software Integration Specialist > > Apache Member > V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer > Apache Incubator PMC Member > > https://www.linkedin.com/pub/christian-mueller/11/551/642

camel zipfile memory based?

2015-12-03 Thread Wilson MacGyver
according to http://camel.apache.org/zip-dataformat.html zip data format is memory based, ie, the entire file content is loaded into the memory. is this also true for http://camel.apache.org/zip-file-dataformat.html I don't see the same warning here. Thanks, Mac -- Omnem crede diem tibi dil

Re: camel zipfile memory based?

2015-12-04 Thread Wilson MacGyver
to read the > entire content into memory. > > On Thu, Dec 3, 2015 at 9:27 PM, Wilson MacGyver > wrote: > > according to http://camel.apache.org/zip-dataformat.html > > > > zip data format is memory based, ie, the entire file content is loaded > into > > the memo

Re: Camel Large File Processing Issues

2016-04-18 Thread Wilson MacGyver
no, the 2 route setup should be more like this. from(ftp_endpoint).to(file://) this will download the file to directory of your choice then another route would be a directory monitor via file component from("file:?delete=true") .process ... this will start the file process when the download