Multicast from File Polling

2009-03-11 Thread Bruno Borges
What is the best option to do a multicasting from a file polling endpoint? Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld Sent from: Rio de janeiro Rj Brazil.

Re: Multicast from File Polling

2009-03-11 Thread Bruno Borges
Yes, but the second endpoint doesn't get the message correctly as the file has already been pulled out. Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Thu, Mar

Re: jetty-component : many context paths

2009-03-12 Thread Bruno Borges
Isn't possible to do a direct:path and from there you multicast to other endpoints? Like: from(some:where).to(direct:path); String[] paths = getJettyPaths(); from(direct:path).multicast(paths); How about this? Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men

Apache Camel and Twitter

2009-03-26 Thread Bruno Borges
I've written an article about integrating Twitter within Apache Camel. If anyone is interested, you can read it through this URL: http://blog.brunoborges.com.br/2009/03/leverage-eip-with-apache-camel-and.html The article is written in English this time. Cheers, Bruno Borges

Re: Apache Camel and Twitter

2009-04-06 Thread Bruno Borges
I've just submited the code as a JIRA New Feature issue. Anybody interested, just go to https://issues.apache.org/activemq/browse/CAMEL-1520 Thanks, Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire

Re: Can not delete file when combining file poller and JMS

2009-04-08 Thread bruno . borges
Have you tried to put a direct:endpoint in the middle, between file:* and jms:* ? Before routing to direct:, convert body to String. Then you route from(direct:endpoint).to(jms:queue) Maybe this works. Cheers, Bruno Borges On Apr 8, 2009 11:39am, Marek2009 marek.vacla...@icw.de wrote

Re: RE: Multiple consumers getting created in custom endpoint

2009-04-08 Thread bruno . borges
I think you should kill your threads on method doStop() or stop() of your consumer. They are invoked when CamelContext is stopped. Cheers, Bruno Borges On Apr 8, 2009 12:38am, Manish K Bafna manish.ba...@headstrong.com wrote: The same is visible in JMS component too. Steps: 1. Create

Re: Router Blocked by full Destination Route Queue

2009-04-10 Thread Bruno Borges
Maybe you should use a persistent queue, for later processing. Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Thu, Apr 9, 2009 at 10:47 PM, yesnid ns

Re:stopping a route in spring dsl

2009-04-30 Thread bruno . borges
Have you tried to put that processor as a filter before the split? Em 30/04/2009 17:13, jburkhardt jasonburkha...@yahoo.com escreveu: I've looked around JIRA and it seems using stop in spring dsl used to be an issue but has been resolved since Feb 09. Perhaps I am attempting to use it

Re: human friendliness of camel

2009-10-06 Thread Bruno Borges
the same can be done. Cheers, Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Tue, Oct 6, 2009 at 9:51 AM, uprooter uproo...@gmail.com wrote: Hello. I have some

Camel-Twitter at ApacheCon Today!!

2009-11-03 Thread Bruno Borges
For everyone attending ApacheCon in San Francisco, I'm going to present at BarCamp the new upcoming camel-twitter component. The session is at 3pm. Come check it out!! If you want to talk to me before it, I'm at the Hackathon with a yellow t-shirt. Cheers!! Bruno Borges blog.brunoborges.com.br

Re: Question On Using Spring Remoting Against Camel Remoting

2009-11-10 Thread bruno . borges
Wrong path my friend. Camel is not a service container. It is a message routing framework. It routes messages (in which might contain a data object, a file, an xml, etc...) You can send and/or receive messages with Camel, using different protocols, some remote, some not. It is up to you on

Re: Re: Aggregator message lost

2009-11-16 Thread bruno . borges
Maybe it will make sense if you consider the aggregation is been done over incoming messages. Cheers, Bruno On Nov 16, 2009 2:28pm, Wilson wilson.li...@gmail.com wrote: Hi Claus, I was out on vacation so my feedback is a bit late. I figured out why my code is not working.

Re: JMS component concurrent consumers config

2009-11-16 Thread bruno . borges
There's one parameter called concurrentConsumers. The default is 1. Cheers, Bruno On Nov 16, 2009 2:48pm, Pavel pag...@gmail.com wrote: Hello, I'm trying to figure out what degree of control do I have for JMS consumers. I'm using ActiveMQ. This page

Re: Re: JMS component concurrent consumers config

2009-11-16 Thread bruno . borges
Oh, sorry. I didn't notice you mentioned both parameters. The number of concurrent consumers will start at 'concurrentConsumers' and Camel will increase until it reaches 'maxConcurrentConsumers'. There's no magic in the middle, like min iddle consumers. On Nov 16, 2009 2:56pm, Claus

Endpoint with Content-based Route does not create consumer

2010-09-21 Thread Bruno Borges
to know if is this the right procedure. Thanks, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld

Re: Endpoint with Content-based Route does not create consumer

2010-09-21 Thread Bruno Borges
Isn't the endpoint associated to oftpToUrl supposed to createConsumer for this route? Cheers, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Tue, Sep 21, 2010

Endpoint consumer created only on from()

2010-09-21 Thread Bruno Borges
Is this statement correct? Are all endpoint's consumers only created when Endpoint is referenced by a from() ? Cheers, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld

Re: Endpoint consumer created only on from()

2010-09-21 Thread Bruno Borges
incomingFiles to this route rather files from outbox 2- a) files from outbox goes to remoteServer-producer b) remoteServer-producer sends file to remote connection c) remoteServer-endpoint continue processing files from outbox to the rest of this route Bruno Borges

Camel Component for the OFTP2 protocol

2010-09-21 Thread Bruno Borges
this link: http://bit.ly/aLSitv Also, the project is hosted at http://accord.ow2.org/odetteftp The component is a Maven module of the Accord Odette project. Thank you, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used

Re: Camel Component for the OFTP2 protocol

2010-09-22 Thread Bruno Borges
are interested users won't either (easily). Your blog post does not show what jars are needed and where to find them either. Did I miss it? Could you please provide directed links? Thanks Hadrian On Sep 21, 2010, at 3:02 PM, Bruno Borges wrote: Hi all! Some of you might know

Re: Endpoint consumer created only on from()

2010-09-22 Thread Bruno Borges
an InOnly message containing a GenericFileFile. If this is not the case (route did override store location with an OutputStream), then a second InOnly message containing metadata about that file will be sent to the route. What do you think? Cheers Bruno Borges www.brunoborges.com.br +55 21

Re: Camel Component for the OFTP2 protocol

2010-09-23 Thread Bruno Borges
to customize KeyStore, passphrase, security provider and even replacing the SSLEngine factory class. I basically followed the camel-netty SSL configuration process and it seems to me to be very simple and easy to set up. Best regards, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory

Camel Social component 'PoC' ready

2010-09-30 Thread Bruno Borges
for different social networks and social paths. Anybody interested? Cheers!! Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld

Re: Camel Social component 'PoC' ready

2010-10-01 Thread Bruno Borges
It will depend on the provider (social network). The component itself has support for updating social stream. For instance: from(direct:a).to(social://twitter/home); Will update user status. Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured

Re: How to handle firefox outputting files, as component?

2010-10-01 Thread Bruno Borges
Usually, files are not transported inside the message. They are written to the disk and a reference to it is then exchanges (java.io.File). I guess you will have no problem about that. Cheers Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured

Re: Camel Social component 'PoC' ready

2010-10-06 Thread Bruno Borges
the good work. On Thu, Sep 30, 2010 at 9:08 PM, Bruno Borges bruno.bor...@gmail.com wrote: Hadrian, remember the talk we had on ApacheCon 2009? I know I took almost a year to have this thing done. Sorry for taking so long! But here it goes. I just want to state that Neociclo http

Re: How to only process messages at a specific time?

2011-03-17 Thread Bruno Borges
I don't think the best way to accomplish this you should rely on Camel. Consider reading this webpage: http://activemq.apache.org/delay-and-schedule-message-delivery.html http://activemq.apache.org/delay-and-schedule-message-delivery.htmlCheers, Bruno Borges www.brunoborges.com.br +55 21

Re: Difference between camel-activemq (1.1.0) and activemq-camel (5.2.0) libraries

2011-04-07 Thread Bruno Borges
Exactly. Always choose ActiveMQ-Camel. It is the component written and maintained by the ActiveMQ team themselves. Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld

Re: Using EJB 3.1 @Startup to start Camel

2012-06-13 Thread Bruno Borges
Awesome! Thanks! *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Wed, Jun 13, 2012 at 12:59 PM, Charles Moulliard cmoulli...@gmail.comwrote: Hi Bruno, You can find an example here : https://github.com/cmoulliard/cdi-camel-example/ Regards, Charles Moulliard Apache Committer

Re: Using EJB 3.1 @Startup to start Camel

2012-06-13 Thread Bruno Borges
We will probably put the application under JBoss AS 7, because the Ops team is already skilled and manages JBoss v5.1 instances around here. Is there something I should be aware of? *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Wed, Jun 13, 2012 at 1:20 PM, Charles Moulliard cmoulli

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-14 Thread Bruno Borges
It's not difficult to let the SearchConsumer endpoint work as an Event-driven too. I'm going to work on this on a few weeks, but of course you can code your own if you are in a hurry :-) *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Sat, Jun 2, 2012 at 6:06 PM, Christian Müller

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-14 Thread Bruno Borges
Claus, what is the scheduled date for 2.10 to be released? *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 14, 2012 at 3:31 PM, Bruno Borges bruno.bor...@gmail.comwrote: It's not difficult to let the SearchConsumer endpoint work as an Event-driven too. I'm going to work

Re: One Camel Context with several XMLs

2012-06-14 Thread Bruno Borges
sweet, just what I needed... thanks claus It seems the docs are a little fuzzy. I spent like 10 min looking around but couldn't find this page. *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 14, 2012 at 3:40 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Jun 14, 2012

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-14 Thread Bruno Borges
It seems I am http://www.youtube.com/watch?v=a01QQZyl-_I :-D *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 14, 2012 at 3:39 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Jun 14, 2012 at 8:33 PM, Bruno Borges bruno.bor...@gmail.com wrote: Claus, what

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-18 Thread Bruno Borges
Soumya, please take a look at this new improvement here: https://github.com/brunoborges/camel-twitter I've forked 2.10-SNAPSHOT and added support for producing queries on the fly like you asked. :-) *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Fri, Jun 1, 2012 at 2:25 PM

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-18 Thread Bruno Borges
https://issues.apache.org/jira/browse/CAMEL-5374 THe patch has been submitted. Thanks, *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Mon, Jun 18, 2012 at 4:58 AM, Bruno Borges bruno.bor...@gmail.comwrote: Soumya, please take a look at this new improvement here: https://github.com

JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
[org.apache.camel.impl.converter.AnnotationTypeConverterLoader] (MSC service thread 1-1) Loaded 2 @Converter classes *Bruno Borges* (21) 7672-7099 *www.brunoborges.com*

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
and it is disabled. *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 21, 2012 at 12:11 PM, Babak Vahdat babak.vah...@swissonline.chwrote: Hi I would recommend you to take a look at: https://community.jboss.org/message/644991 https://issues.jboss.org/browse/AS7-2755 As per se it's

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
Trust me, it's the same JBoss all-files-and-folders-and-configurations (jboss-as-7.1.1-Final) ziped and copied from one machine to the other one. *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 21, 2012 at 12:41 PM, Babak Vahdat babak.vah...@swissonline.chwrote: No I don't

Can't find xsd schema under camel-spring JAR

2012-06-21 Thread Bruno Borges
module name=javax.api/ module name=javax.jms.api/ module name=javax.annotation.api/ module name=org.apache.commons.logging/ /dependencies /module *Bruno Borges* (21) 7672-7099 *www.brunoborges.com*

Re: Got a NoTypeConversionAvailableException even with the same class

2012-06-21 Thread Bruno Borges
Just for the sake of Google, this is (as I thought), a JBoss issue. https://issues.jboss.org/browse/AS7-1769 Thanks *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 21, 2012 at 6:28 PM, Bruno Borges bruno.bor...@gmail.comwrote: Got a NoTypeConversionAvailableException even

Re: Using Camel in web-app without Spring

2012-06-25 Thread Bruno Borges
The only issue I see is that you will be kind of implementing your own Spring-based context. What are you trying to achieve by *NOT* using Spring? *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Mon, Jun 25, 2012 at 1:54 PM, Bilgin Ibryam bibr...@gmail.com wrote: Claus, I

Re: Shutdown context with dynamically added routes

2012-06-25 Thread Bruno Borges
I load a camelContext that connects 5 consumers to ActiveMQ, then when I stop the context with camelContext.shutdown(), the number of consumers does not decrease, messages continue to be consumed somehow, but with lots and lots of exceptions. Is there something I'm missing? *Bruno Borges

Re: Shutdown context with dynamically added routes

2012-06-25 Thread Bruno Borges
Problem solved: I'm using the ActiveMQ pooled connection factory, so it goes up thanks to Spring. So, Spring must shutdown too. :-) *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Mon, Jun 25, 2012 at 5:39 PM, Bruno Borges bruno.bor...@gmail.comwrote: I load a camelContext

Re: Purge VM queued messages

2012-06-29 Thread Bruno Borges
Sorry, found a jmxAgent with disabled='true' on an XML file... :-( *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Fri, Jun 29, 2012 at 7:06 PM, Bruno Borges bruno.bor...@gmail.comwrote: Is it possible to access the messages queued in a VM endpoint? *Bruno Borges* (21) 7672-7099

Re: Purge VM queued messages

2012-06-29 Thread Bruno Borges
Yeah, just realized that after I enabled (removed the disabled jmxAgent) the JMX beans *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Fri, Jun 29, 2012 at 7:17 PM, Hadrian Zbarcea hzbar...@gmail.com wrote: All BrowsableEndpoint(s) are browsable, including the SedaEndpoints used

Has 2.10 been relased?

2012-07-03 Thread Bruno Borges
I just updated my trunk and all POMs were updated to 2.11-SNAPSHOT. But looking at https://svn.apache.org/repos/asf/camel/tags, there's no tag for 2.10. What happend? Or... what's happening? :-) Cheers *Bruno Borges* (21) 7672-7099 *www.brunoborges.com*

Re: Has 2.10 been relased?

2012-07-03 Thread Bruno Borges
Yeah, right, 2.10.0... I didn't find because of the 'unperfect' ordered items from web-svn... :-) Sorry, and thanks *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Tue, Jul 3, 2012 at 6:04 PM, Babak Vahdat babak.vah...@swissonline.chwrote: Hi the version is 2.10.0 and not 2.10

Re: CDI and Camel

2012-07-04 Thread Bruno Borges
I think this project has a more complete implementation of an integration between Camel and CDI: https://github.com/obergner/camelpe *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jul 5, 2012 at 2:19 AM, Bruno Borges bruno.bor...@gmail.com wrote: Guys, a few things about

Re: Consumers not being redirected to ActiveMQ slave

2012-08-01 Thread Bruno Borges
I think the problem relies on the use of PooledConnectionFactory, where it keeps connections. Connection objects to the old broker are still inside the pool, and running forever. Maybe they are not being released after some timeout? -- View this message in context:

Re: Consumers not being redirected to ActiveMQ slave

2012-08-02 Thread Bruno Borges
versions: 2.10 / 5.6.0 We kill the master (HUP) Then slave takes control of ActiveMQ's data (over NFSv4). Camel consumers are not recreated. We check the ActiveMQ console and there's no consumer on any queue. *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Thu, Aug 2, 2012 at 6:52

Re: Simple camel app for the Olympics

2012-08-03 Thread Bruno Borges
As the guy who started the Camel Twitter component, I'm really impressed with your use case. Didn't imagine that it could give others an opportunity to build great stuff. Well done dude!!! *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, Aug 3, 2012 at 1:52 PM, Bilgin Ibryam bibr

Re: Simple camel app for the Olympics

2012-08-03 Thread Bruno Borges
I already forked the project on GitHub to use as a demo on my talk at #JavaOne, if you don't mind!! :-) *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, Aug 3, 2012 at 4:07 PM, Bruno Borges bruno.bor...@gmail.com wrote: As the guy who started the Camel Twitter component, I'm

Re: Camel vs BPEL

2012-09-14 Thread Bruno Borges
(MuleESB comes to mind), you will have to implement all these business process control and persistence on your own. jm2c *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, Sep 14, 2012 at 2:45 PM, Omar Atia omar.a...@its.ws wrote: Adding to this BPEL is slow in performance

Re: Camel Twitter - Filter through message body

2012-10-02 Thread Bruno Borges
Take a look at this code. It does change the consumer keyword by doing what Claus described (remove/add route): https://github.com/brunoborges/tdconcamel/blob/master/src/main/java/com/brunoborges/tdconcamel/TDCOnCamelRoute.java Cheers *Bruno Borges* (11) 99564-9058 *www.brunoborges.com

Re: Splitting a collection on Scala DSL

2012-10-02 Thread Bruno Borges
Oh, forget it... fixed another problem that solved this one ;-) *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Oct 2, 2012 at 5:44 PM, Bruno Borges bruno.bor...@gmail.com wrote: Does anyone know how to use the splitter to break a collection? I'm trying this and can't make

Re: Can WebLogic 12C support Camel 2.1?

2012-10-22 Thread Bruno Borges
I may help you, as soon you share what kind of problem you are actually having. Thanks *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Sun, Oct 14, 2012 at 11:20 PM, rinotan rinota...@gmail.com wrote: I have been trying to implement Camel 12.1 with Weblogic 12C without success

Re: using or operator in twitter keywords search

2013-05-09 Thread Bruno Borges
); } LOG.debug(Searching twitter with keywords: {}, keywords); return search(query); } Let me know if it helps. *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Thu, May 2, 2013 at 3:59 AM, Preben.Asmussen p...@dr.dk wrote: Created https://issues.apache.org/jira/browse/CAMEL

Re: large war or several smaller wars

2013-05-10 Thread Bruno Borges
Not sure if this is really a Camel issue, is it? Could you please clarify the problem? *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, May 10, 2013 at 12:25 PM, anoordover anoordo...@live.nl wrote: What should we do if we use camel and activemq? 1. Should we create much small

Re: Why Pass Java object in Twitter ( other) component

2013-12-16 Thread Bruno Borges
to upgrade Twitter4J version. PS: I'm one of the authors of the Twitter component Best regards *Bruno Borges* (11) 99564-9058 *www.brunoborges.com http://www.brunoborges.com* On Wed, Dec 11, 2013 at 1:59 AM, Goyal, Arpit arpit.go...@sap.com wrote: Hi Jan, Thanks for the explanation. So