JMS Component: mapJmsMessage option

2009-08-03 Thread Wilson
t(DefaultCamelContext.java:384) ... 64 more END EXCEPTION= Is this option available in any 2.0.* version? Thank you? Wilson Freitas -- View this message in context: http://www.nabble.com/JMS-Component%3A-mapJmsMessage-option-tp24796351p247

Re: JMS Component: mapJmsMessage option

2009-08-04 Thread Wilson
Hi Claus, I will try build from source. Thank you very much! Wilson Freitas Claus Ibsen-2 wrote: > > Hi > > Mind the SNAPSHOTS at Apache isnt always up to date with the latest > and greatest code changes. > And you need to use upgrade all .jars to -SNAPSHOT and not onl

Aggregator message lost

2009-10-20 Thread Wilson
but the last one is missing in the resulting Exchange body. For example: the first message group is composed by 10 messages: {[myBody-0],[myBody-0],[myBody-1],[myBody-1],[myBody-2],[myBody-2],[myBody-3],[myBody-3],[myBody-4],[myBody-4]} but the resulting body is missing the last message ([myBody

Re: Aggregator message lost

2009-10-21 Thread Wilson
gt;Aggregator-->AggregatedExchange(3)--> ... -->Exchange(n-1),AggregatedExchange(n-2)-->Aggregator-->AggregatedExchange(n-1)-->(this one is produced by the aggregator) -->Exchange(n),AggregatedExchange(n-1)-->Aggregator-->AggregatedExchange(n)-->(this one is being lost or igno

Re: Aggregator message lost

2009-11-16 Thread Wilson
().setBody(oldBody + "," + newBody); I am used to the Processor interface that expects the body to be set in the "out exchange". It is strange the fact that the Aggregation Strategy expects the "in exchange" to be updated. Thank you. -- Wilson Freitas Vetta Techno

camel-soap: New WSDL SOAP client component

2009-04-15 Thread Wilson
/Introduction Thanks, Wilson Freitas -- View this message in context: http://www.nabble.com/camel-soap%3A-New-WSDL-SOAP-client-component-tp23058456p23058456.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Re: Camel in Production

2009-04-15 Thread Wilson
o far, so good. We had some performace problems related to database tables used by activemq persistence. The DBA changed some specific attributes like fill factor to improve performance. The great thing about Camel is: It is SIMPLE! Best regards, Wilson Freitas samarthbhargava wrote: > >

Re: Camel in Production

2009-04-17 Thread Wilson
Hi Claus, Definitely I want to publish the project story :) I will work on a description for the project. I will contact you as soon as it is ready. Best regards, Wilson Freitas Claus Ibsen-2 wrote: > > Hi Wilson > > Please feel free to add an entry to the user stories pag

Re: Issue with route specific onException and jms component

2010-12-26 Thread Chad Wilson
Claus Ibsen-2 wrote: > > So where does your exception occur? > > And where do you expect Camel to react? > The exception is engineered by the test to occur inside the JMS Component when trying to establish a connection to an invalid host. While my test case uses the TIBCO connection factory,

Bean component / BeanInfo thread safety

2011-02-15 Thread Chad Wilson
Hi guys An issue occurred today which surprised me - Camel 2.4.0 threw a ConcurrentModificationException and caused a message to be lost on a route. We have a route that essentially simplifies down to from("jms:queue:myQueue?concurrentConsumers=3") .unmarshal() .to("bean:mySpringBean")

Re: Bean component / BeanInfo thread safety

2011-02-16 Thread Chad Wilson
Hi Martin Thanks - yes, that's what we are thinking of doing as a workaround slightly easier than a code change. I'll give it a go and see if it does as expected. I guess it depends whether Camel goes back to the factory for each message or whether the bean is cached somewhere. Conversely, I beli

Re: Bean component / BeanInfo thread safety

2011-02-16 Thread Chad Wilson
Thanks Claus. Do you think this issue might affect BeanInfo use elsewhere in Camel, e.g. in bean/simple expressions, or is the BeanInfo introspection repeated separately for each exchange in those cases, thus not shared between threads? -- View this message in context: http://camel.465427.n5.na

Re: Issue with route specific onException and jms component

2011-02-27 Thread Chad Wilson
Genius! You appear to be absolutely correct. I've been meaning to come back to this to log a bug properly, so thanks for the kick. My earlier JUnit test I attached now passes with ?synchronous=true on the JMS endpoint; and of course explains why I could not replicate the behaviour with non-JMS end

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
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 gradle? On Thu, Jul 2, 2015 at 1:43 PM, Rafael Ponte wrote: > Hi Wilson, > > I'm using Camel with Gradle managing all

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

Issue with route specific onException and jms component

2010-12-24 Thread Wilson, Chad (Equity Technology)
Hi all (Apologies about corporate junk at bottom of message) I've been trying to upgrade our Camel usage to 2.5.0 and have been scratching my head about a weird integration test failure and change in behavior in 2.5.0 related to per-route exception handling. The issue seems to occur when the JMS

RE: Issue with route specific onException and jms component

2010-12-24 Thread Wilson, Chad (Equity Technology)
Attachment appear to be nuked - here's the test I'm working with. - import org.apache.camel.EndpointInject; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.builder.RouteBuilder; import or

RE: Issue with route specific onException and jms component

2010-12-24 Thread Wilson, Chad (Equity Technology)
Argh - and now according to Nabble, my original message doesn't exist at all. Groan. Please bear with me. Corporate email gateways are not my friend. Hi all I've been trying to upgrade our Camel usage to 2.5.0 and have been scratching my head about a weird integration test failure an

RE: Issue with route specific onException and jms component

2010-12-24 Thread Wilson, Chad (Equity Technology)
and jms component Hi Try with 2.6-SNAPSHOT as we have fixed some issues with route scoped onException On Fri, Dec 24, 2010 at 11:36 AM, Wilson, Chad (Equity Technology) wrote: > Hi all > > (Apologies about corporate junk at bottom of message) > > I've been trying to upgrad