Hexagonal Architecture with Apache Camel

2017-12-12 Thread Bilgin Ibryam
/12/hexagonal-architecture-for-apache-camel.html Also, I'd like to find out, whether you have any common patterns/practices you end up using with Camel. Cheers, -- Bilgin Ibryam ASF Member | Architect at Red Hat http://ofbizian.com | @bibryam <https://twitter.com/bibryam> Kubernetes Pa

Re: OpenHub framework - Apache Camel, but improved ...

2017-11-25 Thread Bilgin Ibryam
17/11/openhub-framework- > next-interesting-features.html> > > > Please, we would like to get feedback from you. > > Thank you very much. > PETR > >___ _ _ _ > / _ \ _ __ ___ _ __ | | | |_ _| |__ > | | | | '_ \ / _ \ '_ \| |_| | | | | '_ \ > | |_| | |_) | __/ | | | _ | |_| | |_) | > \___/| .__/ \___|_| |_|_| |_|\__,_|_.__/ >|_| version: 2.0.0-RC1 > > > -- Bilgin Ibryam ASF Member | Architect at Red Hat http://ofbizian.com | @bibryam <https://twitter.com/bibryam> Kubernetes Patterns http://leanpub.com/k8spatterns (in progress) Camel Design Patterns https://leanpub.com/camel-design-patterns

Re: Scaling in Jboss Fuse 6.3 container services.

2017-07-28 Thread Bilgin Ibryam
8161.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Bilgin Ibryam ASF Member | Architect at Red Hat http://ofbizian.com | @bibryam <https://twitter.com/bibryam> Kubernetes Patterns http://leanpub.com/k8spatterns (in progress) Camel Design Patterns https://leanpub.com/camel-design-patterns

Re: SQS FIFO

2016-11-21 Thread Bilgin Ibryam
; you are not the intended recipient of this message, please notify the sender > immediately, and delete the message and any attachments. Any disclosure, > reproduction, distribution or other use of this message or any attachments by > an individual or entity other than the intended

Re: Best way to build a wait/retry loop with Camel?

2016-11-12 Thread Bilgin Ibryam
use Spring JMS Template. > > > Numbers 1, 3, 4 and 5 simply do not work (or I don't use them the right > way) for this case. Number 2 is my current solution, number 6 a new idea. > Any recommendations or other suggestions how to build this wait/retry loop? > > Thanks a lot > Steph

Re: Camel Users Registration

2016-10-27 Thread Bilgin Ibryam
intercepted, corrupted, lost, destroyed, arrive late or > incomplete, or contain viruses. The sender therefore does not accept > liability for any errors or omissions in the contents of this message, which > arise as a result of the e-mail transmission. > > i-exceed technology soluti

Re: Suggestions on how to cluster Camel?

2016-07-27 Thread Bilgin Ibryam
gated across all nodes > in the cluster. > > Are there any techniques or frameworks that could help us implement this? > Any suggestions on approaches that work and what doesn't work? > > Thanks, > -Dave -- Bilgin Ibryam Camel Committer at ASF & Integration Architect at Red Ha

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-07 Thread Bilgin Ibryam
a conflict at that time, but would be highly interested in watching >> > afterwards. >> > >> > John >> > >> > On Mon, Jun 6, 2016 at 11:13 AM Bilgin Ibryam <[hidden email] >> <http:///user/SendEmail.jtp?type=node=5783519=1>> wrote: >>

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
rested in watching > afterwards. > > John > > On Mon, Jun 6, 2016 at 11:13 AM Bilgin Ibryam <bibr...@gmail.com> wrote: > >> You can see how excited I'm from the double typo in the subject :) >> >> On 6 June 2016 at 16:06, Bilgin Ibryam <bibr...@gmail.com> wrote:

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
You can see how excited I'm from the double typo in the subject :) On 6 June 2016 at 16:06, Bilgin Ibryam <bibr...@gmail.com> wrote: > Hi Camel riders, > > Nowadas most of the announcements go over twitter, but I wanted to > give a heads up about two interesting Camel even

Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
this list: Charles Moulliard Christian Posta Jean Baptiste Onofre Claus Ibsen Christian Schneider Jakub Korab James Strachan Bilgin Ibryam (that's me) Registration is open for another 2 days (until 8th of June) [1] http://app.engage.redhat.com/e/es.aspx?s=1795=875728=9c404d53a515451fa43a000b46

Re: Resequencer in distributed environment

2016-05-21 Thread Bilgin Ibryam
>>> >>> Am I correct with my assumptions or did I miss something (e.g. some >>> distributed sequencer implementation in some camel component)? >>> >>> Has anybody successfully used the resequencer in a HA scenario (and can >>> give some hints

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Bilgin Ibryam
nk it's related to your change, but it's an issue I have to > overcome. > I don't know how I'd pass the fonts in a non OSGI environment... > > I'm only working with Camel in OSGI, does anyone have any ideas on how to > make this work? > > Thanks, > Laurentiu > > On Thu,

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Bilgin Ibryam
arsers.AbstractSAXParser.parse(Unknown Source)[:] > at > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:644)[:1.7.0_95] > at > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:740

Re: PDF/A files using Camel FOP component

2016-04-04 Thread Bilgin Ibryam
>> > >> > Regards, >> > Laurentiu >> > >> > On Wed, Mar 30, 2016 at 10:03 AM, Laurentiu Trica < >> > laurentiu.tr...@moredevs.ro> wrote: >> > >> >> Hi Ibryam, >> >> >> >> I tried that header but

Camel Design Patterns ebook

2016-04-01 Thread Bilgin Ibryam
://www.amazon.co.uk/gp/product/B01D1RERQG [2] https://leanpub.com/camel-design-patterns [3] http://www.ofbizian.com [4] http://samples.leanpub.com/camel-design-patterns-sample.pdf I've enjoying writing it. Hope you find it useful too. -- Bilgin Ibryam Camel Committer at ASF & Integration Archi

Re: Instagram Component ?

2016-03-30 Thread Bilgin Ibryam
aseline. >> >> >> > >> > >> > >> > -- >> > Matt Sicker <boa...@gmail.com> >> >> >> >> -- >> Claus Ibsen >> - >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >> -- Bilgin Ibryam Camel Committer at ASF & Integration Architect at Red Hat Blog: http://ofbizian.com | Twitter: @bibryam Camel Design Patterns https://leanpub.com/camel-design-patterns Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: PDF/A files using Camel FOP component

2016-03-29 Thread Bilgin Ibryam
t see anything about the PDF/A standard in the documentation: > http://camel.apache.org/fop.html > > Can this be done? > Apache FOP can do this: > https://xmlgraphics.apache.org/fop/1.1/pdfa.html > > Can I use the CamelFop.Output.Format to set the output format? > > Thank y

Re: Handling inflight messages during shutdown

2016-01-27 Thread Bilgin Ibryam
ble.com/Handling-inflight-messages-during-shutdown-tp5776814.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Camel Committer at ASF & Integration Architect at Red Hat Blog: http://ofbizian.com | Twitter: @bibryam Camel Design Patterns https://lea

Re: Agggegrate Scenario Camel

2016-01-21 Thread Bilgin Ibryam
grate-Scenario-Camel-tp5776478.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Camel Committer at ASF & Integration Architect at Red Hat Blog: http://ofbizian.com | Twitter: @bibryam Camel Design Patterns https://leanpub.com/camel-design-patterns Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Clusturing Camel

2016-01-08 Thread Bilgin Ibryam
rs@camel.apache.org > Subject: Re: Clusturing Camel > > Add a load balancer to forward the request to apache camel on jetty. you > can even use Apache HTTPD with the load balancer module in it for the same. > > > > -- > View this message in context: > http://camel.46542

Re: Apache Camel as ETL

2015-12-15 Thread Bilgin Ibryam
on / SOA ( Open Source - Apache Camel > & Jboss Fuse ESB | Mule ESB ) > LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a > Twitter - reji_mathews > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-as-ETL-tp5775073.html > Sent from t

Re: Apache Camel Optaplanner Component

2015-10-29 Thread Bilgin Ibryam
ct:in", unsolvedCloudBalance); > > It crashes within the last line, it's CastingError Exception...any idea > why? > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-Optaplanner-Component-tp5773140.html > Sent from t

Re: Camel Activiti

2015-08-26 Thread Bilgin Ibryam
of blueprint for this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Activiti-tp5770981.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter

Strange cxf behavior with https

2015-04-23 Thread Bilgin Ibryam
? -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Choosing between Mapping Options

2015-01-25 Thread Bilgin Ibryam
at Nabble.com. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Best way for reusing routes

2014-11-25 Thread Bilgin Ibryam
] http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html TIA, -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Best way for reusing routes

2014-11-25 Thread Bilgin Ibryam
Further looking into that, the docs say routeContext is isolated and that that it cannot use onException, intercept, dataFormats from the camelcontext but looking into latest Camel code it can use Does the doc out of date or I'm misinterpreting it? On 25 November 2014 at 11:18, Bilgin Ibryam

Re: Best way for reusing routes

2014-11-25 Thread Bilgin Ibryam
contexts defined in blueprint... Is that true? On 25 November 2014 at 13:06, Claus Ibsen claus.ib...@gmail.com wrote: 1 and 2 boils down to the same. routeContextRef will load the routes the same was as #1 does. On Tue, Nov 25, 2014 at 12:18 PM, Bilgin Ibryam bibr...@gmail.com wrote: Hi all

Re: Camel 2.13.1 Orignal Body from Splitter

2014-09-15 Thread Bilgin Ibryam
as well in the Processor? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-13-1-Orignal-Body-from-Splitter-tp5756291.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog

Re: Cache Cache replication tech

2014-08-16 Thread Bilgin Ibryam
: Apart from HazelCast - EHCache could anyone recommend any tech for on-heap caching, and cache replication? Does redhat have an open source solution in this space? Kind regards Bird. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter

Re: one context or multiple contexts?

2014-07-31 Thread Bilgin Ibryam
in context: http://camel.465427.n5.nabble.com/one-context-or-multiple-contexts-tp5754635p5754722.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com

Re: one context or multiple contexts?

2014-07-30 Thread Bilgin Ibryam
from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Red Hat, Inc. Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: How to retrieve Sqs message attributes

2014-07-22 Thread Bilgin Ibryam
.n5.nabble.com/How-to-retrieve-Sqs-message-attributes-tp5754109.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message

Re: Nagios apache camel component

2014-05-18 Thread Bilgin Ibryam
to a personal project. From already thank you very much -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: HA of Camel

2014-04-23 Thread Bilgin Ibryam
-- View this message in context: http://camel.465427.n5.nabble.com/HA-of-Camel-tp5750419.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author

Re: Set header from velocity template

2014-04-15 Thread Bilgin Ibryam
again, -J -- View this message in context: http://camel.465427.n5.nabble.com/Set-header-using-velocity-template-tp5750248p5750259.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter

Re: What are your Camel Best Practices?

2014-04-02 Thread Bilgin Ibryam
? Thanks for sharing. Max. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Camel AWS-DDB scan/query

2014-04-02 Thread Bilgin Ibryam
://camel.465427.n5.nabble.com/Camel-AWS-DDB-scan-query-tp5749255.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message

Re: Camel CMIS - Unable to perform versioning operation on non versionable node

2014-02-02 Thread Bilgin Ibryam
-to-perform-versioning-operation-on-non-versionable-node-tp5746634.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message

Re: Camel CMIS - What should the endpoint URL look like?

2014-02-02 Thread Bilgin Ibryam
.nabble.com/Camel-CMIS-What-should-the-endpoint-URL-look-like-tp5746628.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message

Re: Master/Slave failover using database lock

2014-01-31 Thread Bilgin Ibryam
node? I know that ActiveMQ, Karaf, Quartz can do it... Thanks, Gérald -- View this message in context: http://camel.465427.n5.nabble.com/Master-Slave-failover-using-database-lock-tp5746646.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache

Re: Camel JCR examples?

2014-01-24 Thread Bilgin Ibryam
. One more questions: Is it possible to retrieve all versions of a file using Camel from Jackrabbit? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JCR-examples-tp5746406p5746446.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam

Re: Camel JCR examples?

2014-01-23 Thread Bilgin Ibryam
. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Master Slave Camel-ActiveMQ

2014-01-03 Thread Bilgin Ibryam
list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Parallel processing

2013-12-31 Thread Bilgin Ibryam
/Parallel-processing-tp5745377.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp

Re: Error in XSLT message tranformation

2013-12-03 Thread Bilgin Ibryam
. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: Message router, multiple values

2013-11-26 Thread Bilgin Ibryam
Thanks in advance, Regards. -- View this message in context: http://camel.465427.n5.nabble.com/Message-router-multiple-values-tp5743857.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter

Re: How can trigger scanning a dynamic directory

2013-11-26 Thread Bilgin Ibryam
will not be liable for the message if modified. - -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Re: assertIsInstanceOf

2013-11-24 Thread Bilgin Ibryam
is defined in? For instance, assertIsInstanceOf(ExecResult.class, exchange.getIn().getBody()); Many thanks. Philippe -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http

Re: Reading more files from aws-S3 than expected

2013-11-23 Thread Bilgin Ibryam
-from-aws-S3-than-expected-tp5743692.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http://www.amazon.com

Re: Message headers and HTTP

2013-10-29 Thread Bilgin Ibryam
: http://camel.465427.n5.nabble.com/Message-headers-and-HTTP-tp5742364.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel

Re: onException not triggered

2013-10-18 Thread Bilgin Ibryam
, Bilgin Ibryam bibr...@gmail.com wrote: Hi Camel riders, I'm trying to figure out why onException is not triggerd in the following route. The solution I found is to use try-catch instead, but I'd prefer to have it work only with errorHandler and onException import

onException not triggered

2013-10-17 Thread Bilgin Ibryam
)) .throwException(new RuntimeException()) .to(mock:never); } }; } } -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing http

Re: Getting the error Invalid content was found starting with element 'marshall'.

2013-09-17 Thread Bilgin Ibryam
-marshall-tp5739639.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing packtpub.com/apache-camel-message

Re: New book about Apache Camel

2013-09-15 Thread Bilgin Ibryam
+ servicemix On Sun, Sep 1, 2013 at 3:36 PM, Bilgin Ibryam bibr...@gmail.com wrote: I'm excited to announce that my book Instant Apache Camel Message Routing is published! Instant Apache Camel Message Routing will help you to get started with Camel and Enterprise Integration Patterns

Re: New book about Apache Camel

2013-09-11 Thread Bilgin Ibryam
are waiting now the delivery :) Regards, Abdellatif -- View this message in context: http://camel.465427.n5.nabble.com/New-book-about-Apache-Camel-tp5738426p5738514.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer

Re: camel-redis strings serialization

2013-09-10 Thread Bilgin Ibryam
list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam https://twitter.com/bibryam Author of Instant Apache Camel Message Routing packtpub.com/apache-camel-message-routing/bookhttp://www.packtpub.com/apache-camel-message-routing

Re: camel-redis strings serialization

2013-09-10 Thread Bilgin Ibryam
-redis-strings-serialization-tp5738994.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Bilgin Ibryam Apache Camel Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam lt;https://twitter.com/bibryamgt; Author of Instant Apache Camel Message

Re: camel-redis db selection

2013-09-09 Thread Bilgin Ibryam
Hi Tommaso, you can provide your own connectionFactory with db configured. Just create RedisConnectionFactory, configure it with db index, and put that in the registry. Also specify the connectionFactory in the URI. HTH Bilgin On 9 September 2013 09:08, Tommaso mynos_m...@yahoo.it wrote:

Re: What is the different between ErrorHandler of the Dead Letter Channel and Exception Clause

2013-09-04 Thread Bilgin Ibryam
Hi Ernest, As the documentation suggests, you can use both at the same time: Using Error Handler combined with Exception Clause is a very powerful combination. We encourage end-users to use this combination in your error handling strategies. The short answer is that Exception Clause allows you

Re: Using Camel Redis component to subcribe to a channel

2013-09-01 Thread Bilgin Ibryam
Hi Shing, How are you publishing messages to Redis? Is it with Camel producer or with other custom code? Also have you seen this http://stackoverflow.com/a/16498040 HTH Bilgin On 1 September 2013 09:46, Shing Hing Man mat...@yahoo.com wrote: Hi, I am trying to use Camel (2.11.1) Redis

New book about Apache Camel

2013-09-01 Thread Bilgin Ibryam
routing quickly. You can find out more about the book on Packt Publishing website http://www.packtpub.com/apache-camel-message-routing/book Or order it from Amazon here http://www.amazon.com/dp/1783283475 Regards, Bilgin Ibryam

Re: When to use AWS SQS?

2013-08-19 Thread Bilgin Ibryam
AWS SQS has different characteristics than ActiveMQ, you have to consider those too. It is priced per message, doesn't support FIFO, much slower, but distributed and HA... Cheers Bilgin On 19 August 2013 16:11, deepak_a angesh...@gmail.com wrote: Hi, Thanks, that was useful. We are

Re: Camel RSS component can't be used as Producer Endpoint

2013-08-14 Thread Bilgin Ibryam
You will have to use http component and manually process the feed or dynamically create routes using the url from db and rss consumer. B. Sent from mobile On 14 Aug 2013 08:41, skazy ziga.ska...@gmail.com wrote: Hi Bilgin, I have to write the route which periodicaly reads the list of RSS feed

Re: Camel RSS component can't be used as Producer Endpoint

2013-08-13 Thread Bilgin Ibryam
Hi Ziga, rss component has only consumer, so you can use it only in from(...) Why do you need to use timer? Bilgin On 13 August 2013 12:25, skazy ziga.ska...@gmail.com wrote: Hi, I am trying to use camel-rss component as follow:

Re: Unit of Work Scope and direct/SEDA/vm components

2013-08-05 Thread Bilgin Ibryam
Hi, The file component uses onCompletion for moving files after the exchange has completed. As long as the completions are passed with the exchange the files wont move. The VM component passes the completions to the next camel context so the files are not moved... You have to use a queue or

Re: CamelXsltResourceUri

2013-08-04 Thread Bilgin Ibryam
Have a look at the unit test http://svn.apache.org/repos/asf/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/component/xslt/XsltFromHeaderOverrideEndpointUriTest.java Bilgin On 2 August 2013 14:46, ericsodt dean.eric...@ll.mit.edu wrote: Does anyone have a good working

Re: Problem connecting the http link using Camel

2013-08-04 Thread Bilgin Ibryam
Hi Ganesh, have you tried setting the proxy related options (proxyAuthHost, proxyAuthPort etc.) mentioned here http://camel.apache.org/http4.html ? Bilgin On 2 August 2013 16:12, Ganesh Bonde gbo...@dhlglobalmail.com wrote: Hi Everyone, I am working on a task where

Re: best practice for logging execution time

2013-07-30 Thread Bilgin Ibryam
You can get these kind of statistics using JMX too Did you see http://camel.apache.org/camel-jmx.html Bilgin On 29 July 2013 23:20, salemi sal...@avaya.com wrote: I like to identify the average execution time spent in Camel. I have a aggregator that aggregate 10 messages before it send them

Re: Invoking Servlet from Camel

2013-07-29 Thread Bilgin Ibryam
Hi Syed, what you have done should work. If you set a message body http4 component will use POST method to do the http call and sent the message body as post body. Have a look here http://camel.apache.org/http4.html You can also set the http method manually if you prefer, like this:

Re: problem with aggregating multicast

2013-07-26 Thread Bilgin Ibryam
Hi FritzGerald, you have to say where does the multicast end, otherwise it will treat aggregate as another destination for the multicast... Add an .end() before the .aggregate statement. Have a look at the examples here http://camel.apache.org/multicast.html Bilgin On 26 July 2013 09:38,

Re: No Consumer available Exception

2013-07-24 Thread Bilgin Ibryam
Which version of Camel are you using? Try to specify the route startup order as suggested. Bilgin On 23 July 2013 18:33, Jothi codeintheo...@gmail.com wrote: What even confuses me is that I have another route that looks more or less the same, the only difference being a couple of more choice

Re: Camel File Polling Exception

2013-07-24 Thread Bilgin Ibryam
Hi Joe, OnException will be called for exceptions happening during routing. To catch exception happening before the routing starts for that file, you can use ExceptionHandler. See the example here http://camel.apache.org/file2.html Or give a try for consumer.bridgeErrorHandler option If that

Re: Exponential BackOff ignored

2013-07-24 Thread Bilgin Ibryam
I can see you also have an errorHandler for that route. Is it possible that the exception thrown is not OrderNotFoundException and it is caught not by the onException, but by the error handler which doesn't have exponential backoff? B. On 24 July 2013 13:39, zzkozak mar...@pikula.de wrote: Ok,

Re: Camel-springws with custom HTTP header

2013-07-24 Thread Bilgin Ibryam
Hi Eva, You can use your own webServiceTemplate with a ClientInterceptor Have a look here http://stackoverflow.com/questions/3169237/setting-a-custom-http-header-dynamically-with-spring-ws-client HTH Bilgin On 24 July 2013 17:18, evillarroya eva.villarr...@gmail.com wrote: Hi, I am trying

Re: Camel Example Restlet JDBC Master

2013-07-23 Thread Bilgin Ibryam
-example-restlet-jdbc Which is an ASL 2.0 example about using Apache Camel contributed to the community by Bilgin Ibryam (A very talented Apache Camel Committer). I made a pull request to make the example work again: https://github.com/bibryam/camel-example-restlet-jdbc/pull/3 Until this change

Re: Camel Example Restlet JDBC Master

2013-07-23 Thread Bilgin Ibryam
it Camel though B. On Tue, Jul 23, 2013 at 10:58 AM, Bilgin Ibryam bibr...@gmail.com wrote: Babak, thanks for the nice introduction and pull request :) I applied it your changes and the example should be working fine again. Bilgin On 23 July 2013 09:19, Babak Vahdat babak.vah

Re: How to pass the http authentication token?

2013-07-23 Thread Bilgin Ibryam
If you are using the http4 component, have a look at Configuring URI Parameters section on the docs http://camel.apache.org/http4.html HTH Bilgin On 23 July 2013 13:11, zerdo ze...@o2.pl wrote: Hello, How to pass the http authentication token? If it could cause the browser POST then he or

Re: No Consumer available Exception

2013-07-23 Thread Bilgin Ibryam
Strange, can you post the whole route file Bilgin On 23 July 2013 14:44, Jothi codeintheo...@gmail.com wrote: Camel Users, I face a strange error when I tried to run one of my routes. Why I say strange is because, I can see that the consumer for one of the routes is started, but it still

Re: Probleme with startorder

2013-07-22 Thread Bilgin Ibryam
Hi Bovas, startupOrder will only guarantee that route 1 will start before route 2. It wont guarantee that route one will find a file and that file will reach the bean before route 2 message reaches the same bean. If you have such a dependency in your routes, I'd suggest you change your routing

Re: Why cannot do a graceful shutdown?

2013-07-21 Thread Bilgin Ibryam
Hi, Have a look here http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html and use separate thread in your processor to shutdown the Camel HTH Bilgin On 21 July 2013 15:29, bonnahu bonn...@gmail.com wrote: Hey guys, I need to shutdown the camelcontext in a Processor. Here is

Re: New Instance of CamelContext from Spring

2013-07-21 Thread Bilgin Ibryam
CamelContextFactoryBean creates CamelContext as a singleton and its reference is cached by Spring. It might be easier for you if you a factory for creating new CamelContext and you prefer you can still reuse the same route definitions from Spring XML in each new CamelContext. Something like this:

Re: Mocking consumer endpoints

2013-07-21 Thread Bilgin Ibryam
()); } }); } would be useful for replacing from endpoints in tests. I will add that soon if there are no objections. Bilgin On 11 July 2013 18:16, Claus Ibsen claus.ib...@gmail.com wrote: No there is not. On Mon, Jul 1, 2013 at 6:55 PM, Bilgin Ibryam bibr...@gmail.com wrote: Hi, with CamelTestSupport I

Re: Using a jpa endpoint with no entityClassName

2013-07-18 Thread Bilgin Ibryam
Hi Martin, just use dummy class name (like jpa://foo ) and make sure the message body contains one or many entity instances Bilgin On 18 July 2013 16:37, fordm ford.j.mar...@gmail.com wrote: Hi, The URI format for a jpa endpoint is: jpa:[entityClassName][?options] and according to

Re: Custom error handler for logging + dlq + riemann

2013-07-10 Thread Bilgin Ibryam
Hi Frazer, you can get access the exception from the exchange property: Exchange.EXCEPTION_CAUGHT HTH Bilgin On 10 July 2013 11:53, Frazer Irving frazer.irv...@mailonline.co.uk wrote: Hi, I'm trying to create an error handler that sends messages to a DLQ, sends events to riemann and logs

Mocking consumer endpoints

2013-07-01 Thread Bilgin Ibryam
Hi, with CamelTestSupport I can use isMockEndpointsAndSkip method to mock existing endpoints, but for mocking the consumer endpoint I still have to use AdviceWithRouteBuilder. Is there a method in CamelTestSupport that I can override and mock the consumer endpoints? Thanks Bilgin

Re: Why is the file component parameter, consumer.regexPattern not recognized?

2013-06-26 Thread Bilgin Ibryam
Hi Chris, are you using Camel 1.x? As it says in the documentation, for Camel 2.x, the doc page of file component is http://camel.apache.org/file2.html Bilgin On 26 June 2013 22:24, Chris Wolf cwolf.a...@gmail.com wrote: ResolveEndpointFailedException: Failed to resolve endpoint:

Re: Why doesn't the stub component throw exceptions in tests

2013-05-29 Thread Bilgin Ibryam
a InOnly message. So the consumer can only handle the exception itself by logging it. If he does a InOut then the producer template will wait for the reply message, and because it failed with the exception, the reply message is the exception. On Fri, May 24, 2013 at 5:09 PM, Bilgin Ibryam bibr

Re: AWS-SQS with dynamic queue name

2013-05-29 Thread Bilgin Ibryam
On 25 May 2013 09:00, EySemp eys...@mailinator.com wrote: Is it possible to use the aws-sqs component with a dynamic queue name computed at runtime? It is not possible with the current code, but would be really easy to add that feature. Have a look at getQueueUrl method in SqsProducer [1] .

Re: Why doesn't the stub component throw exceptions in tests

2013-05-24 Thread Bilgin Ibryam
Hi, can you try to set the exception on the exchange instead of throwing it? If that's the case then I think there might a bug in SedaConsumer which propagates back exceptions on the exchange but doesn't propagate thrown exceptions. Bilgin On 24 May 2013 12:31, dancerjohn

Re: Sending an exchange into a route mid way

2013-05-16 Thread Bilgin Ibryam
You could separate route R1 into two smaller routes connected with direct. Then you could send messages to both smaller routes... Bilgin On 16 May 2013 17:02, samslara samsl...@yahoo.com wrote: Hello, I have a hypothetical question that's been bugging me. Is it possible to send an

Re: Amazon DynamoDB Support

2013-05-13 Thread Bilgin Ibryam
Hi eugene, I added ddb component some time ago. You are right, it doesn't have consumer, because I couldn't identify good use cases for it: like polling an entity or getting some callbacks from DynamoDB. But many components have only a producer with operations for retrieving data. That's also the

Re: AWS S3 Request/Reply

2013-03-15 Thread Bilgin Ibryam
You mentioned processing files in order, if that is really important for your application, just keep in mind this from aws documentation: Amazon SQS makes a best effort to preserve order in messages, but due to the distributed nature of the queue, we cannot guarantee that you will receive

Re: Publish/Subscribe with Camel

2013-03-13 Thread Bilgin Ibryam
Thanks Claus. I wasn't aware of pub/sub capabilities of these components. Bilgin On 13 March 2013 12:36, Claus Ibsen claus.ib...@gmail.com wrote: On Wed, Mar 13, 2013 at 11:36 AM, Bilgin Ibryam bibr...@gmail.com wrote: I am thinking to write a small article about different ways to do pub

Re: Starting a camel project

2013-01-14 Thread Bilgin Ibryam
Hi Marco, To run your application as standalone, your application jar has to contain all the dependencies Then you need a class with main method to run your application. Also you need to specify this class in the manifest of the generated jar. One way to do it is by using the

Re: Starting a camel project

2013-01-14 Thread Bilgin Ibryam
That's correct, and that's exactly the reason I mentioned shade plugin. Thanks Willem B. On 14 January 2013 13:35, Willem jiang willem.ji...@gmail.com wrote: If you just build a big jar, you need to merge the META-INF files yourself, otherwise you will hit some strange issue there.

Re: Route Dependency in XML DSL

2013-01-14 Thread Bilgin Ibryam
Hi Geoffrey, what do you mean by route is finished ? Do you want to call route B at the end of rotue A? Bilgin On 14 January 2013 14:58, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Geoffrey

Re: AWS SQS - 2.10.3 missing functionality

2012-12-17 Thread Bilgin Ibryam
Hi guys, it is my miss to not backport this change, sorry for the confusion. I will do that. Bilgin On 16 December 2012 18:04, Christian Müller christian.muel...@gmail.com wrote: Sorry for the inconvenience. It's not in Camel 2.10.3 [1] and not in the camel-2.10.x maintenance branch [2]. At

Re: How to have more than one condition in simple expression language

2012-12-12 Thread Bilgin Ibryam
Justin, you are right, and/or is deprecated in simple language, instead you should use and || If you are using the xml DSL, you should xml encode, so you have to add amp; after each HTH Bilgin On 11 December 2012 15:42, justinblandford justinblandf...@googlemail.com wrote: Thanks, that does

  1   2   >