Re: Camel jms - In Out Pattern

2016-05-18 Thread Henryk Konsek
ation: > queue://responseQueue. > 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

Re: A silly idea?

2016-01-14 Thread Henryk Konsek
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; > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I would like to Inject the Spring JdbcTemplate that I've defined in my > > Spring configuration file to my BookingService business class. > > > > My question is : > > > > How can I a load and inject a Spring bean inside a OSGI based Bean? > > > > Thank you in advance, > > > > Meissa > > > -- Henryk Konsek http://about.me/hekonsek

Re: The Camel Name - Just A Thought

2015-12-10 Thread Henryk Konsek
t;> > > >> > > >> > -- > >> > View this message in context: > >> > http://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: Shutdown sequence when running Camel in Springboot

2015-12-10 Thread Henryk Konsek
gt; > -- > 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: Camel and Activemq setup with Spring Boot

2015-12-05 Thread Henryk Konsek
s using the same 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
gt; simple way to get the columns 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 mai

Re: Using BeanInvocation in camel cxf

2015-11-17 Thread Henryk Konsek
it from your system > > 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
expectedBodiesReceived("blah"); > > 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
hare. > > Thanks, > 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
.n5.nabble.com/Share-database-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 <hekon...@gmail.com> wrote: > > > > Hi Jimmy, > > > > If you would like

Re: Custom endpoint configuration and Spring Boot

2015-09-25 Thread Henryk Konsek
my main route: > > 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 - bu

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
${in.body} > > > 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
estrict=GET > ] > 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
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: Interceptor into external file

2015-09-10 Thread Henryk Konsek
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: what's happening to camel extra?

2015-09-04 Thread Henryk Konsek
inue maintaining the project once 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 <hekon...@gmail.com> wrote: &g

Re: what's happening to camel extra?

2015-09-04 Thread Henryk Konsek
gt; > > > > > > > Unfortuantly there does not seem to be any conclusion on this > > > > discussion > > > > > > yet. > > > > > > > > > > > > // Pontus > > > > > > > > > > > >

Re: Load Bean Definitions from XML in Camel

2015-08-25 Thread Henryk Konsek
are mostly processor datasoource entries). Hope I was clear regards, Felix T -- View this message in context: http://camel.465427.n5.nabble.com/Load-Bean-Definitions-from-XML-in-Camel-tp5770892p5770958.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Henryk

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 of

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-29 Thread Henryk Konsek
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 hekon...@gmail.com wrote: Hi Ed, This is bug indeed. I have just fixed it in CAMEL-9029 [1

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 eisele.mar...@gmail.com napisał: Same ClassCast Exception: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.TextImpl cannot be cast to java.lang.String Cheers,

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.,

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 parulagrawa...@gmail.com 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

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 parulagrawa...@gmail.com napisał: Hi, I am trying to run Camel as OSgi bundle in Kura with

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 tdudgeon...@gmail.com napisał: I'm trying to run some routes in tomcat using the servlet component

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

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

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 yan.w...@db-is.com napisał: what i used is FuseESB:karaf@root features:listUrl Loaded URI true

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)).

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
/dependencies -- vriendelijke groeten, Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België RD 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

Re: camel-parent pom properties

2015-05-22 Thread Henryk Konsek
RD Integration 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

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 geppore...@gmail.com napisał: Also the official API doc says using getIn() is fine:

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 yarlagadd...@gmail.com napisał: using 2.14.1 version... route id=route1 from

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.,

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

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 jonas.audena...@gmail.com napisał: How can I send it to nowhere or

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 kurren...@gmail.com

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 james.mk.gr...@gmail.com napisał: If

Re: camel-parent pom properties

2015-05-15 Thread Henryk Konsek
Hi, The better practice is to import Camel parent as BOM: dependencyManagement dependnecies dependency groupIdorg.apache.camel/groupId artifactIdcamel-parent/artifactId version${camel.version}/version typepom/type scopeimport/scope /dependency

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 kurren...@gmail.com napisał: Please take a look at

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 ravi.4in...@gmail.com napisał: Hi, I have a route using camel file2 to move a file. its working fine with a single node but with camel

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 tojayendran.in...@gmail.com napisał: Team, I tried additional ways below, but

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 tompa...@poczta.fm napisał: Hi, Could you guys please help me out

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 johnz...@gmail.com 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

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: Closed (removed) StreamCache when doing a Wiretap

2015-04-22 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

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 jam...@gmail.com 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

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

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 hekon...@gmail.com napisał: Hi, Just add spring-boot-starter-web to your project. It will block the main thread

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 mohamed.elgabbo...@peerius.com 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

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 claus.ib...@gmail.com

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 https://issues.apache.org/jira/browse/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 hekon...@gmail.com 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 catching

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 hekon...@gmail.com 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
. 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
/ fabric8: http://fabric8.io/ -- Henryk Konsek http://henryk-konsek.blogspot.com

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

2015-02-18 Thread Henryk Konsek
: 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 -- If you reply to this email, your message will be added

Re: CamelBlueprintTest randomly failing tests

2015-02-17 Thread Henryk Konsek
) -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Duplicate route id detection and Spring Boot integration

2015-02-15 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: Production deploy options - standalone jvm vs war multi-homed jetty

2015-01-07 Thread Henryk Konsek
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.apache.org/netty-http.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: streaming results using rest dsl

2015-01-03 Thread Henryk Konsek
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
it to the consumer starting 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
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: Camel-boot autowiring issue

2014-11-07 Thread Henryk Konsek
* Have you got any concrete example demonstrating 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-06 Thread Henryk Konsek
. 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: Configuring hibernate with blueprint in karaf

2014-11-06 Thread Henryk Konsek
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-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: 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 hekon...@gmail.com wrote: Hi, Here is sample project I prepared to demonstrate

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: EIP Icons for Cacoo

2014-11-04 Thread Henryk Konsek
-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
] 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: Camel-Cache 2.14.0 with MyBatis

2014-10-31 Thread Henryk Konsek
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: Zookeeper component RoutePolicy

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

Re: Aggregate up to N ASAP

2014-10-30 Thread Henryk Konsek
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://henryk

Re: Using named query parameters

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

Re: MQTT Request/Reply

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

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: 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. -- Henryk Konsek http://henryk

Re: Aggregate up to N ASAP

2014-10-29 Thread Henryk Konsek
:) . 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: can camel throttle messages based a dynamic message key?

2014-10-28 Thread Henryk Konsek
(...) .throttle(30).to(direct:c) .otherwise() .to(direct:noThrottle); Cheers. -- 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
://camel.apache.org/groovy.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel use case with Akka

2014-10-28 Thread Henryk Konsek
/async.html -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Zookeeper component RoutePolicy

2014-10-27 Thread Henryk Konsek
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: Difference between bean(MyObject.class) and bean(new MyObject())

2014-10-27 Thread Henryk Konsek
- this might be a bug. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Aggregate up to N ASAP

2014-10-27 Thread Henryk Konsek
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: ReportIncident tutorial - Logging Issue..

2014-10-25 Thread Henryk Konsek
j...@java2go.com mailto:jon.jenk...@tradingscreen.com -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel with ActiveMQ

2014-04-14 Thread Henryk Konsek
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. -- Henryk Konsek http

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-dropbox

2014-04-11 Thread Henryk Konsek
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
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 Konsek http://henryk

Re: AW: Aggregator - complete when newExchange.header('x) != oldExchange.header(x)

2014-03-10 Thread Henryk Konsek
tried using custom predicate and .completionPredicate() DSL element? Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: camel-dropbox

2014-03-07 Thread Henryk Konsek
request if he would like to contribute the project to Camel Extra. Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: camel-dropbox

2014-03-07 Thread Henryk Konsek
in ASF Camel? Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

  1   2   3   >