Re: Camel jms - In Out Pattern

2016-05-18 Thread Henryk Konsek
sponseQueue. > Exchange[ID-ICB1864-58611-1463553066644-3-8][Message: > > *If i remove inout pattern.message is en queued to requestQuee and after > dequeed by mockresponse route ,eventually MockResponseGenerator prepares > mock response and enqueued to responseQueue.* > > Please updat

Re: A silly idea?

2016-01-14 Thread Henryk Konsek
t; do you think about that? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/A-silly-idea-tp5776224.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: calling a spring bean inside an OSGI based project

2016-01-05 Thread Henryk Konsek
t; > > > > > > > > > > > > > > > > > > > > > "com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/> > > > > > > > > > > &g

Re: Shutdown sequence when running Camel in Springboot

2015-12-10 Thread Henryk Konsek
View this message in context: > http://camel.465427.n5.nabble.com/Shutdown-sequence-when-running-Camel-in-Springboot-tp5774960.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: The Camel Name - Just A Thought

2015-12-10 Thread Henryk Konsek
://camel.465427.n5.nabble.com/The-Camel-Name-Just-A-Thought-tp5774938.html > >> > Sent from the Camel - Users mailing list archive at Nabble.com. > >> > >> > >> > >> -- > >> Claus Ibsen > >> - > >> http://davsclaus.com @davsclaus > >> Camel in Action 2: https://www.manning.com/ibsen2 > >> > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Henryk Konsek http://about.me/hekonsek

Re: Camel and Activemq setup with Spring Boot

2015-12-05 Thread Henryk Konsek
configuration. > > Sample code I have been testing with > https://github.com/zachariahyoung/docker-camel > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-and-Activemq-setup-with-Spring-Boot-tp5774544p5774728.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Columns order in ResultSetIterator

2015-11-20 Thread Henryk Konsek
olumns in the right order? Is it possible to change > the behaviour of this method? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Columns-order-in-ResultSetIterator-tp5774150.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Using BeanInvocation in camel cxf

2015-11-17 Thread Henryk Konsek
tem > > immediately. IBTech A.S. makes no warranty as to the accuracy or > > completeness of any information contained in this message and hereby > > excludes any liability of any kind for the information contained therein > or for > > the information transmission, reception, storage or use of such in any > way > > whatsoever. Any opinions expressed in this message are those of the > author > > and may not necessarily reflect the opinions of IBTech A.S. > -- Henryk Konsek http://about.me/hekonsek

Re: spring boot test mocks

2015-11-16 Thread Henryk Konsek
t; producerTemplate.sendBody("blah"); > > end.assertIsSatisfied(); > > } > > > > } > > > > It looks like the direct:end bit is never mocked so the assertion fails. > It’s like @MockEndpoints is completely ignored. > > > > Is this the correct way to mock existing components when using spring > boot? Thanks. > > > > -- > Kind regards > Joakim Bjørnstad > -- Henryk Konsek http://about.me/hekonsek

Re: How to read XML Payload

2015-11-03 Thread Henryk Konsek
> Kalyan > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-read-XML-Payload-tp5773337.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Share database connection pool among routes

2015-10-21 Thread Henryk Konsek
se-connection-pool-among-routes-tp5772925.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Custom endpoint configuration and Spring Boot

2015-09-25 Thread Henryk Konsek
ngDestinationResolver() {...} Cheers! pt., 25.09.2015 o 15:08 użytkownik Jimmy Selgen Nielsen < jimmy.sel...@gmail.com> napisał: > > > On 25. sep. 2015, at 14.18, Henryk Konsek wrote: > > > > Hi Jimmy, > > > > If you would like to create a simple URI for the p

Re: Custom endpoint configuration and Spring Boot

2015-09-25 Thread Henryk Konsek
ute: > > from(…..) > .errorHandler(deadLetterChannel(directBackoutQueue).maximumRedeliveries(0)) > > I’m not sure if the deadLetterChannel resolving endpoints at route > configuration time is intentional - it makes sense that a deadLetterChannel > must exist - but it seems kinda pointless if it is that easily defeated. > > As for the earlier callback in CamelContextConfiguration, this seems like > the correct solution. > > /J -- Henryk Konsek http://about.me/hekonsek

Re: Custom endpoint configuration and Spring Boot

2015-09-25 Thread Henryk Konsek
ed adding a CamelContext @Bean, but that doesn’t seem to get > called. > > Any hints/ideas as to where i might do this ? > > /J -- Henryk Konsek http://about.me/hekonsek

Re: simple camel route for wmq - help

2015-09-16 Thread Henryk Konsek
This does not appear to be working. > > > > > -- Henryk Konsek http://about.me/hekonsek

Re: Workaround with REST DSL to avoid HTTP method not allowed - 405

2015-09-14 Thread Henryk Konsek
INFO Route: rest-searchbyuser started and consuming from: Endpoint[ > > http://0.0.0.0:9191/blog/article/search/user/%7Buser%7D?httpMethodRestrict=GET > ] > INFO Route: rest-deletearticle started and consuming from: Endpoint[ > http://0.0.0.0:9191/blog/article/%7Bid%7D?httpMethodRestrict=DELETE] > INFO Route: route1 started and consuming from: Endpoint[ > http://0.0.0.0:9191/blog/article?httpMethodRestrict=OPTIONS] > > > > http -v OPTIONS http://localhost:9191/blog/article/ > > --> > > HTTP/1.1 200 OK > Accept: */* > Accept-Encoding: gzip, deflate > Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, > Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers > Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, > CONNECT, PATCH > Access-Control-Allow-Origin: * > Access-Control-Max-Age: 3600 > Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS > > > Regards, > > -- > Charles Moulliard > Apache Committer / Architect @RedHat > Twitter : @cmoulliard | Blog : http://cmoulliard.github.io > -- Henryk Konsek http://about.me/hekonsek

Re: Interceptor into external file

2015-09-10 Thread Henryk Konsek
el.465427.n5.nabble.com/Interceptor-into-external-file-tp5771400p5771403.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Interceptor into external file

2015-09-10 Thread Henryk Konsek
rojects. > > Can i reference an interceptor like "routeContextRef" tag or > "restContextRef" tag? > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Interceptor-into-external-file-tp5771400.html > Sent fro

Re: what's happening to camel extra?

2015-09-04 Thread Henryk Konsek
e it has been > > moved (where ever it is moved). > > > > I think the question right now is the progress of the SF migration. > > > > // Pontus > > > > On Fri, 4 Sep 2015 at 09:18 Henryk Konsek wrote: > > > >> Hi, > >> > >>

Re: what's happening to camel extra?

2015-09-04 Thread Henryk Konsek
> discussion > > > > > > yet. > > > > > > > > > > > > // Pontus > > > > > > > > > > > > [1] > > > > > > > > > > > > > > > > > > > > > http://camel.465427.n5.nabble.com/Moving-camel-extra-to-github-tt5764066.html > > > > > > [2] > > > > > > > > > > > > > > > > > > > > > http://camel.465427.n5.nabble.com/PROPOSAL-camel-extra-moves-forward-tt5765822.html > > > > > > [3] > > > > > > > > > > > > http://www.apache.org/foundation/mailinglists.html#foundation-community > > > > > > > > > > > > > > > > > > On Wed, 19 Aug 2015 at 18:53 Tim Dudgeon > > > > wrote: > > > > > > > > > > > >> Now that the Google code site is about to switch to read only > > > > > >> (https://code.google.com/a/apache-extras.org/p/camel-extra/) I > > > > wondered > > > > > >> what is going to happen to the Camel Extras stuff? > > > > > >> > > > > > >> Tim > > > > > >> > > > > > > > > > > > > > > > > > > > > > -- Henryk Konsek http://about.me/hekonsek

Re: Load Bean Definitions from XML in Camel

2015-08-25 Thread Henryk Konsek
5770892p5770958.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Henryk Konsek http://about.me/hekonsek

Re: Some Stupid Questions

2015-08-02 Thread Henryk Konsek
Hi, > Is keeping a separate Camelcontext for each route a > best approach, or only if there a lot of traffic of messages then > you should consider separation. The number if the contexts you have doesn't really affects the performance. The number of contexts is rather related to the architecture

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-29 Thread Henryk Konsek
> > The first node then reconnects, would it make sense for him to look at the > incoming View and if he's no longer the coordinator, to call shutdown on > the route? > > On Tue, 28 Jul 2015 14:15:48 +, Henryk Konsek > wrote: > > > Hi Ed, > > > >

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-28 Thread Henryk Konsek
Hi Ed, This is bug indeed. I have just fixed it in CAMEL-9029 [1]. The bug was not detected so far, because channels used for cluster configuration usually don't exchange non-view messages. Thanks for catching this! Cheers! [1] https://issues.apache.org/jira/browse/CAMEL-9029 wt., 28.07.2015 o

Re: com.sun.org.apache.xerces.internal.dom.TextImpl cannot be cast to java.lang.String

2015-07-24 Thread Henryk Konsek
Hi Markus, Can you send us the full stack trace? Cheers! pt., 24.07.2015 o 14:31 użytkownik Markus Eisele napisał: > Same ClassCast Exception: > > java.lang.ClassCastException: > com.sun.org.apache.xerces.internal.dom.TextImpl cannot be cast to > java.lang.String > > Cheers, > Markus > > On 24

Re: Camel access to ROOT log

2015-07-20 Thread Henryk Konsek
You can also consider creating your own logger appender that would send the log events to the channel that could be understood by Camel. Or maybe use JMS Topic appender [1] as a bridge between the Logger and Camel. Cheers! [1] http://logback.qos.ch/manual/appenders.html#JMSTopicAppender pon., 20

Re: Need help in running camel in raspberry pi

2015-07-15 Thread Henryk Konsek
Hi Parul, I will help you with your example in coming days. Cheers! śr., 15.07.2015 o 07:54 użytkownik Parul napisał: > Hi All, > > I have uploaded sample code @ https://github.com/parulagrawal14/Came-Kura > . > Please let me know if i have done anything wrong in the project which might > hav

Re: Need help in running camel in raspberry pi

2015-07-07 Thread Henryk Konsek
Hi Parul, The LWM2M branch of Kura is known to be currently broken as far as I know. Can you try to deploy the regular Kura distribution? Cheers! pon., 6.07.2015 o 08:23 użytkownik Parul Agrawal napisał: > > Hi, > > I am trying to run Camel as OSgi bundle in Kura with raspberry as the > target

Re: use gradle to build apache camel application

2015-07-03 Thread Henryk Konsek
Hi, I've been working with the Camel and Gradle in the past. If you just plan to create fat jars with Camel inside, the Gradle+Camel works like a charm. Cheers! pt., 3.07.2015 o 15:54 użytkownik Wilson MacGyver napisał: > In my case, I'm building a standalone app. So I was planning to use the

Re: nonsense ClassCastException

2015-06-26 Thread Henryk Konsek
Hi, It looks like you have incompatible Servlet API jars included in your WAR. So your jars do not match the API used by your Tomcat. Cheers! czw., 25.06.2015 o 19:11 użytkownik Tim Dudgeon napisał: > I'm trying to run some routes in tomcat using the servlet component > (CamelHttpTransportServ

Re: spring boot, jpa, entitymanagers and Java DSL

2015-06-12 Thread Henryk Konsek
Hi, We should check how Camel JPA component resolves the entity manager from the Spring Boot registry. And then adjust that process, so it works more natural for the Spring Boot applications. Can you raise a Jira ticket for this issue? Cheers! pt., 12.06.2015 o 08:25 użytkownik erik_romson napi

Re: Jackson JSON Dataformat can not unmarshal what it has marshaled

2015-06-03 Thread Henryk Konsek
Hi, IMHO We should ignore unknown fields in Jackson by default: objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); This is the essential option for Jackson, as JSON is usually not as strict as XML. I would say that we should add failOnUnknownProperties options to

Re: how to which version of camel is used by fuse-esb?

2015-06-01 Thread Henryk Konsek
Hi, In general in Karaf calling... osgi:list | grep -i camel ...should do the trick. Cheers! pon., 1.06.2015 o 17:25 użytkownik nono napisał: > what i used is > FuseESB:karaf@root> features:listUrl > Loaded URI > true > mvn:org.apache.camel.karaf/apache-camel/2.9.0.fuse-70-084/xml/fe

Re: What is the best way to implement "RunLevel" equivalent functionality with camel.

2015-05-26 Thread Henryk Konsek
Hi Zoltan, You can use splitter with conjunction with the Control Bus [1] to achieve this. from("direct:splitAndStart"). split().body().setHeader("routeId", body() ).to("controlbus:route?&action=start"); from("direct:startLevel1"). setBody().constant(Arrays.asList("route1", "route2")). to(

Re: Synchronous one time use of endpoint

2015-05-23 Thread Henryk Konsek
Hi Justin, Have you tried to use ConsumerTemplate API? It allows you to dynamically create an endpoint and consume a single message from it. Cheers! pt., 22.05.2015 o 19:38 użytkownik Justin Rosenberg < justin.rosenb...@crlcorp.com> napisał: > I would like to leverage the endpoint abstraction

Re: camel-parent pom properties

2015-05-22 Thread Henryk Konsek
tegration Architect Prince II certified – ITIL certified Tel: +32-3-326.50.75 -Original Message----- From: Henryk Konsek [mailto:hekon...@gmail.com] Sent: vrijdag 22 mei 2015 9:56 To: users@camel.apache.org Subject: Re: camel-parent pom properties Hi, I would advice to keep Camel BOM imported a

Re: Exchange setBody not working with Camel 2.15.2

2015-05-22 Thread Henryk Konsek
Hi, Maybe a little Maven example demonstrating the issue? That would encourage us to debug your problem :) . Cheers! pt., 22.05.2015 o 13:33 użytkownik geppo napisał: > Also the official API doc says using getIn() is fine: > > http://camel.apache.org/maven/current/camel-core/apidocs/org/apache

Re: camel-parent pom properties

2015-05-22 Thread Henryk Konsek
– Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België > R&D Integration Architect > Prince II certified – ITIL certified > Tel: +32-3-326.50.75 > > -Original Message- > From: Henryk Konsek [mailto:hekon...@gmail.com] > Sent: vrijdag 15 mei 2015 17:23 > To: use

Re: camel sql outputType=SelectList is giving errors

2015-05-21 Thread Henryk Konsek
Hi, Option outputType has SelectList by default. Does it mean that your endpoint always fail or only when you set outputType=SelectList explictly. Cheers. czw., 21.05.2015 o 10:51 użytkownik chaituu napisał: > using 2.14.1 version... > > > > > > > > In the bean

Re: How to wiretap without consuming the original queue

2015-05-20 Thread Henryk Konsek
Hi, In general Camel can't consume message and not remove it from the queue at the same time, as it relies on the ActiveMQ client which... consumes the messages. :) You can consider using ActiveMQ mirrored queues and use Camel to consume only the copy of the message flow. Cheers. śr., 20.05.201

Re: How to wiretap without consuming the original queue

2015-05-19 Thread Henryk Konsek
Sorry for answering with the question, but what is purpose of sending the message to the wireTap and then to nowhere? :) I'm trying to understand what you try to achieve here. Cheers! wt., 19.05.2015 o 15:48 użytkownik Jonasty napisał: > How can I send it to nowhere or do nothing? > > > > -- >

Re: How to wiretap without consuming the original queue

2015-05-19 Thread Henryk Konsek
Hi, You should add some destination after the wireTap. For example: from("activemq:queue:aap").wireTap("activemq:queue:aapTap").to(...); Then you will see that the original flow is processed regardless of the wireTap flow. Cheers! wt., 19.05.2015 o 14:57 użytkownik Jonasty napisał: > Hel

Re: Vramel or modifying Camel

2015-05-18 Thread Henryk Konsek
Hi Anton, The threading model is in camel-core [1]. But I doubt if it can be easily replaced with the different implementation. Cheers! [1] https://github.com/apache/camel/tree/master/camel-core/src/main/java/org/apache/camel pon., 18.05.2015 o 11:44 użytkownik Anton Hughes napisał: > Can any

Re: Camel elasticsearch bulk api not working

2015-05-18 Thread Henryk Konsek
Can you show us your route? :) And the body you send to the ES producer. Cheers! niedz., 17.05.2015 o 17:03 użytkownik umang napisał: > Hi, > > I was experimenting with camel elasticsearch component. I was sending > following request to elasticsearch with INDEX operation. It is working as > exp

Re: camel-parent pom properties

2015-05-15 Thread Henryk Konsek
Hi, The better practice is to import Camel parent as BOM: org.apache.camel camel-parent ${camel.version} pom import And then simply: org.apache.camel camel-core Cheers! pt., 15.05.2015 o 15:24 użytkownik Ronny Aerts napisał

Re: ElasticSearch- Best practice for indexing entire JSON Files?

2015-05-15 Thread Henryk Konsek
Hi, Split the document and use the bulk insert to save documents in the batch mode. Look for the camel-elasticsearch [1] BULK_INDEX operation. Cheers! [1] http://camel.apache.org/elasticsearch.html pt., 15.05.2015 o 13:18 użytkownik James Green napisał: > If widgets.json is effectively a data

Re: InOut MEP

2015-05-14 Thread Henryk Konsek
Hi, Set the validation results on the message header instead of the out message body. For example: exchange.getIn().setHeader("VALIDATION_STATUS", "Valid"); Cheers! czw., 14.05.2015 o 00:06 użytkownik Anton Hughes napisał: > Please take a look at http://camel.apache.org/content-based-router

Re: Warning Messages in Logs when camel application running on multiple nodes

2015-05-13 Thread Henryk Konsek
Hi, You should see in the logs what is the reason for the rename failure. Maybe problems with IO? Cheers. śr., 13.05.2015 o 08:21 użytkownik ravi.4indra napisał: > Hi, > > I have a route using camel file2 to move a file. its working fine with a > single node but with camel running on three dif

Re: how to get the soap body from exchange.

2015-05-13 Thread Henryk Konsek
Hi, Try the following approach: SOAPMessage soapMessage = exchange.getIn(SOAPMessage.class); The message contains the body. The message is not a body :) . Cheers. śr., 13.05.2015 o 09:59 użytkownik jainmcs03 napisał: > Team, > > I tried additional ways below, but getting SOAPMessage as nu

Re: CamelExceptionCaught not cleared after successful redelivery

2015-05-07 Thread Henryk Konsek
Hi Tom, Have you got a chance to check if the issue is still valid for the newer Camel? 2.10 is reeeally old one and it is very likely that the issue has been already solved. Cheers! czw., 7.05.2015 o 09:26 użytkownik PaSik napisał: > Hi, > > Could you guys please help me out with one thing. >

Re: @BeanInject ignored in Groovy when called as a script

2015-05-05 Thread Henryk Konsek
Hi, This is Spring? Can you send us the Maven example reproducing the issue? Cheers! wt., 5.05.2015 o 15:01 użytkownik bocamel napisał: > Because groovy script called by Camel cannot be debugged under IDE, I > created > my script as a hybrid so I can easily switch it between the bean mode and

Re: HTTP OPTIONS

2015-04-23 Thread Henryk Konsek
Hi, I've fixed some OPTIONS/CORS related issues in Netty HTTP component. After these [1] two [2] changes (scheduled for 2.16 and 2.15.2) you can finally call Netty HTTP based REST DSL routes from AngularJS without running into the OPTIONS problems. If you wait for Camel 2.15.2 and use Netty HTTP

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

2015-04-22 Thread Henryk Konsek
Thanks Jamie. I'm looking forward to seeing it! Cheers. śr., 22.04.2015 o 18:51 użytkownik jamie3 napisał: > Hello everyone. I'm not sure if this is the right area but I will be > providing a deep comparison of Apache Camel and Integration Bus v9.0 in a > series of upcoming blog posts. Just wan

Re: Closed (removed) StreamCache when doing a Wiretap

2015-04-21 Thread Henryk Konsek
Hi, You can also use Wiretap's onPrepareRef option and use custom processor to copy the content of the cached body. Franz, would you be so kind and create a pull request with your fix? Somebody will review it and merge. Thanks in advance! Cheers! wt., 21.04.2015 o 16:25 użytkownik Franz Paul Fo

Re: synchronizing multiple processes in a camel route

2015-04-21 Thread Henryk Konsek
Hi, Until you explicitly define the message flow as parallel (using for example Threads DSL [1]) the processing will be sequential. So you don't have to do anything to achieve what you want :) . Laters! [1] http://camel.apache.org/async.html pon., 20.04.2015 o 19:24 użytkownik Morgan Hautman n

Re: The Camel Kafka component crashes with a NoClassDefFoundError exception.

2015-04-16 Thread Henryk Konsek
If we are talking about camel-scala, then I believe that scala dependency should be provided. We integrate Camel with Scala, but it is up to end-user to provide the version of Scala s(he) wants to use in the project. Laters! czw., 16 kwi 2015 o 19:10 użytkownik Claus Ibsen napisał: > Hi > > Yea

Re: RSS Feed consumer

2015-04-16 Thread Henryk Konsek
Hi, Please show us your route :) . It would be helpful. Cheers. czw., 16 kwi 2015 o 11:46 użytkownik majid napisał: > Hi all, > > I have a scheduler task that is supposed to download a rss feeds file > locally and I want pull all these feeds and extract some data from them, > but > I want to d

Re: Spring Boot component is missing CamelSpringBootApplicationController

2015-04-16 Thread Henryk Konsek
Hi, Regardless of the ease of providing the workaround for this issue, I have backported CAMEL-8532 to 2.15.2. Cheers! śr., 15 kwi 2015 o 21:10 użytkownik Henryk Konsek napisał: > Hi, > > Just add spring-boot-starter-web to your project. It will block the main > thread. Or camel-

Re: Spring Boot component is missing CamelSpringBootApplicationController

2015-04-15 Thread Henryk Konsek
Hi, Just add spring-boot-starter-web to your project. It will block the main thread. Or camel-boot-starter-remote-shell. I didn't backported CAMEL-8532 because it is as easy to block the main thread. I personally always add spring-boot-starter-web

Re: Camel M2M gateway project

2015-03-09 Thread Henryk Konsek
Hi, > Maybe add a link to your project from the Camel user stories / > articles or somewhere relevant? > http://camel.apache.org/user-stories.html Good point! Added to user stories. Cheers. -- Henryk Konsek http://about.me/hekonsek

Re: Duplicate route id detection and Spring Boot integration

2015-03-04 Thread Henryk Konsek
I sneaked the fixed into 2.15.0 release. :) Thanks for reporting! Laters! On Wed, Mar 4, 2015 at 4:10 PM, Henryk Konsek wrote: > Hi, > > Indeed, RoutesCollector was invoked after CamelContext is started. > This is a bug. I will push fix to Camel 2.15.1. > > Thanks for catchin

Re: Duplicate route id detection and Spring Boot integration

2015-03-04 Thread Henryk Konsek
Hi, Indeed, RoutesCollector was invoked after CamelContext is started. This is a bug. I will push fix to Camel 2.15.1. Thanks for catching this! Cheers. On Sun, Feb 15, 2015 at 10:26 PM, Henryk Konsek wrote: > Hi guys, > > I'm back from the short holidays. I will take a look

Camel M2M gateway project

2015-03-03 Thread Henryk Konsek
d so forth. This is also a place where I plan to put my benchmarks code and results (starting by the end of this week). You're more then welcome to participate! :) Cheers. [1] https://github.com/hekonsek/camel-m2m-gateway -- Henryk Konsek http://about.me/hekonsek

Re: Camel Spring Boot Joda DateTime serialization support with Jackson JSON

2015-02-18 Thread Henryk Konsek
View this message in context: >> http://camel.465427.n5.nabble.com/Camel-Spring-Boot-Joda-DateTime-serialization-support-with-Jackson-JSON-tp5762854.html >> >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > >> > >> > >> > -- >>

Re: Camel Spring Boot Joda DateTime serialization support with Jackson JSON

2015-02-18 Thread Henryk Konsek
> ----- > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: CamelBlueprintTest randomly failing tests

2015-02-17 Thread Henryk Konsek
>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > > > > > > at java.lang.reflect.Method.invoke(Method.java:606) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) >>> > > > > > > at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) >>> > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20) >>> > > > > > > at >>> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) >>> > > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) >>> > > > > > > at >>> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) >>> > > > > > > at >>> > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) >>> > > > > > > at >>> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) >>> > > > > > > at >>> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) >>> > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) >>> > > > > > > at >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) >>> > > > > > > at >>> > > > > > >>> > > > >>> > >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) >>> > > > > > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > >>> > >>> >> >> -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Duplicate route id detection and Spring Boot integration

2015-02-15 Thread Henryk Konsek
ext is started, after looking at the >>ManagementStrategy code. Hence you can't do this with the >>CamelConfiguration interface of camel-spring-boot, the context has >>already been started at that point. >>> >>> Our solution was a simple integration class for Spring Boot that >>starts the context later, after configuration. Would be great to know >>if we are missing something, although we'll probably stay on 2.14 >>anyway for this project due end of March. >>> >>> Cheers, >>> Christian >>> >>> >>> >>> >>> >> >> >> >>-- >>Claus Ibsen >>- >>Red Hat, Inc. >>Email: cib...@redhat.com >>Twitter: davsclaus >>Blog: http://davsclaus.com >>Author of Camel in Action: http://www.manning.com/ibsen >>hawtio: http://hawt.io/ >>fabric8: http://fabric8.io/ -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Production deploy options - standalone jvm vs war multi-homed jetty

2015-01-07 Thread Henryk Konsek
container you deploy to. However I personally prefer to use embedded HTTP connectors. They are much easier to deploy and test for end-to-end scenarios. Cheers. [1] http://spring.io/blog/2014/03/07/deploying-spring-boot-applications#what-about-the-java-ee-application-server [2] http://camel

Re: streaming results using rest dsl

2015-01-03 Thread Henryk Konsek
). setBody().constant(new ByteArrayOutputStream("foo".getBytes()));. So I guess that setting OutputStream as the response body should do the trick. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Update mongoDb objects from blueprint xml routes

2014-11-12 Thread Henryk Konsek
tarting that route. Cheers. [1] http://camel.apache.org/groovy.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-boot autowiring issue

2014-11-07 Thread Henryk Konsek
onstrating this issue? I'd like to keep this dependency optional, as it should be up to the developer to pick the Spring Boot version of his/her choice. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-boot autowiring issue

2014-11-07 Thread Henryk Konsek
> Oops, my bad, the issue is that spring-boot-autoconfigure dependency is only > available for test scope Everything's OK then? :) -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Configuring hibernate with blueprint in karaf

2014-11-06 Thread Henryk Konsek
works indeed by executing 'mvn install' :) . We use similar configuration of Hibernate in Fuse 6.1. Laters! [1] https://github.com/hekonsek/fuse-pocs/tree/master/fuse-pocs-blueprint-hibernate42 -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-boot autowiring issue

2014-11-06 Thread Henryk Konsek
additional problems. Cheers. PS Give a moment for our CI server to deploy new snapshots or build it locally from the master branch. [1] http://sd.keepcalm-o-matic.co.uk/i/keep-calm-it-works-on-my-machine-8.png -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Ack by the end of WS chain (client WS - [WS - Camel - client WS] - WS) *image inside

2014-11-05 Thread Henryk Konsek
Hi, > In other words, I'm wondering if the following is feasable: Sending status code after endpoint call is common practice. Looks fair for me :) . Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
OK, I can see possible improvement for camel-spring-boot, as well as small misconfiguration in your project. I'll send more details later today. Stay tuned :) Cheers. On Wed, Nov 5, 2014 at 3:53 PM, Henryk Konsek wrote: > Hi, > >> Here is sample project I prepared to demo

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
Hi, > Here is sample project I prepared to demonstrate the issue: I will take a look it shortly. Thanks for reporting :) . Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: EIP Icons for Cacoo

2014-11-04 Thread Henryk Konsek
; -- >> View this message in context: >> http://camel.465427.n5.nabble.com/EIP-Icons-for-Cacoo-tp5758493.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-Cache 2.14.0 with MyBatis

2014-10-31 Thread Henryk Konsek
m that endpoint can be routed to invalidate the cache. Cheers. [1] http://www.postgresql.org/docs/9.1/static/plpython-trigger.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-Cache 2.14.0 with MyBatis

2014-10-31 Thread Henryk Konsek
ceptors [1] to partially automate such calls in the AOP manner. Cheers. [1] http://camel.apache.org/intercept.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Aggregate up to N "ASAP"

2014-10-30 Thread Henryk Konsek
gation completion predicate that is aware of the fact that message received from consumer is in fact a batch of the messages. Then your predicate could decide to complete aggregation if received batch is big enough or continue to aggregate otherwise. Cheers. -- Henryk Konsek http://

Re: Zookeeper component RoutePolicy

2014-10-29 Thread Henryk Konsek
.org/load-balancer.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Aggregate up to N "ASAP"

2014-10-29 Thread Henryk Konsek
in "whatever has arrived" :) . Messages are collected one by one. It indicates that your completion predicate would complete as soon as aggregator collected one message. That's why it makes no sense. Laters! -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: I cant throw the correct HTTP status codes from camel.

2014-10-29 Thread Henryk Konsek
Hi, > from("direct:channel2").onException(Exception.class).process(new > LogError(HubConstants.CHANNEL2.getValue())).end().recipientList() > .method(Util.class, "getEndpoint"); Can you share the consumer part of the route with us? :) Cheers. --

Re: Problems configuring FileIdempotentRepository

2014-10-29 Thread Henryk Konsek
> The underlying problem is that if the idempotent repository file doesn't > exist Camel doesn't seem to create it. If you can reproduce the issue with the Maven example, you could create a Jira issue with bug report. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: MQTT Request/Reply

2014-10-29 Thread Henryk Konsek
have to worry about leaking topics. Cheers. [1] http://activemq.apache.org/delete-inactive-destinations.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Using named query parameters

2014-10-29 Thread Henryk Konsek
sed to work. :) If you can reproduce the issue, then it is a good candidate to bug report. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel use case with Akka

2014-10-28 Thread Henryk Konsek
t/scala/camel.html [2] http://camel.apache.org/async.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Problems configuring FileIdempotentRepository

2014-10-28 Thread Henryk Konsek
/camel-core/apidocs/org/apache/camel/processor/idempotent/FileIdempotentRepository.html#getCacheSize() -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Consuming from an External WS given only the External WS WSDL definition

2014-10-28 Thread Henryk Konsek
] http://camel.apache.org/groovy.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: can camel throttle messages based a dynamic message key?

2014-10-28 Thread Henryk Konsek
(3).to("direct:b") .when(...) .throttle(30).to("direct:c") .otherwise() .to("direct:noThrottle"); Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Aggregate up to N "ASAP"

2014-10-27 Thread Henryk Konsek
t timeout doesn't really make sense, as router won't be able to collect anything in such sort time. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Difference between bean(MyObject.class) and bean(new MyObject())

2014-10-27 Thread Henryk Konsek
e reproducing the issue will be useful - this might be a bug. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Zookeeper component RoutePolicy

2014-10-27 Thread Henryk Konsek
= 2; new ZooKeeperRoutePolicy("zookeeper:localhost:39913/someapp/somepolicy", 2); It allows you to control how many "masters" should be there. Laters! -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: ReportIncident tutorial - Logging Issue..

2014-10-25 Thread Henryk Konsek
anup > producer.stop(); > > > } catch (Exception e) { > // we ignore any exceptions and just rethrow as runtime > throw new RuntimeException(e); > > } > } > > > > > Jonathan Jenkins > +44 7789 847427 > j...@java2go.com <mailto:jon.jenk...@tradingscreen.com> -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: OutOfMemoryError when handling large file

2014-04-14 Thread Henryk Konsek
Hi Max, > How can I prevent this? What about storing only a path to the file (File#absolutePath()) in the header instead of the java.io.File instance? Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel with ActiveMQ

2014-04-14 Thread Henryk Konsek
tly coupled - you won't be able to enqueue the messages while your application is down (as the broker will be down at the same time). My opinionated recommendation is to have a standalone broker by default and stick to embedded one only if you really got a reason to do so. Cheers. -- Henry

Re: camel-dropbox

2014-04-11 Thread Henryk Konsek
erform the clean during the coming days. Many thanks Giovanni for all your hard work. Would you consider creating a documentation page for the component? Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel with ActiveMQ

2014-04-10 Thread Henryk Konsek
> But ActiveMQ alone can send/receive JMS message. What specific camel will do > in this case ? Provide EIP goodness. Plus easy integration with the other endpoints [1]. Cheers. [1] http://camel.apache.org/components.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: camel-dropbox

2014-03-12 Thread Henryk Konsek
guration of the Dropbox account coordinates. Can you change your code so it doesn't require Dropbox account to successfully build? If you want to include some integration tests in the module, use Maven profile to enable/disable them (should be disabled by default). Cheers. -- Henryk

  1   2   3   >