PGP encryption inside a camel route

2010-03-22 Thread kodcanavari
Hi, Is there anyone who ever did PGP encryption or decryption process on some file routes? I just have to encrypt files that i'm going to send to a ftp server and decrypt the ones that i'm going to collect. Thanks. -- View this message in context: http://old.nabble.com/PGP-encryption-inside-a

Re: How to aggregate all messages into a single message?

2009-11-02 Thread kodcanavari
_folder_url); from("direct:modifyEntry").aggregate(header("modify"), new AggregationStrategy()).to(m_to_modify_folder_url); so this is a route which: - reads a file - splits it's entities - processes each entry separately - according to their nature aggregating proc

Trying to add JdbcComponent to CamelContext

2009-11-01 Thread kodcanavari
When i do InitialContext initialContext = new InitialContext(); DataSource ds = (DataSource)initialContext.lookup("jdbc_1"); JdbcComponent jdbcComponent = new JdbcComponent(); jdbcComponent.setDataSource(dataSource); camelContext.addComponent("jdbc", jdbcComponent); How can i use this compon

Re: How to aggregate all messages into a single message?

2009-11-01 Thread kodcanavari
pAggregationStrategy()).process(new > LdapModifyProcessor()).end().to(TO_FOLDER); > > On Thu, Oct 15, 2009 at 5:01 PM, kodcanavari > wrote: > >> >> Hi, >> >> I want to use an aggregator in order to aggregate all messages comming. >> On my route i'm mak

Re: Jpa component, persistency.xml location

2009-10-19 Thread kodcanavari
i think my persistency.xml is never read because i got this error: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[jpa://com.xxx.routecsvoracle.EntityBean?persistenceUnit=postgres]. Reason: javax.persistence.PersistenceException: Found 'javax.pe

Re: Jpa component, persistency.xml location

2009-10-18 Thread kodcanavari
stens for every bundle coming on the framework and reads its META-INF/persistency.xml. So if i just deploy openjpa, you think it's going to work and i will have my jpa config ready to use by camel jpa endpoint? kodcanavari wrote: > > Hi, > > Actually i'm developping

Jpa component, persistency.xml location

2009-10-18 Thread kodcanavari
Hi, Actually i'm developping camel routes under OSGi, so i create bundles and deploy them onto a OSGi framework with camel-core bundles on it. Everything is ok but: I neet to use the JPA component in order to map an entity bean to the database, but i don't know were to put the persistency.xml. I

Re: How to aggregate all messages into a single message?

2009-10-15 Thread kodcanavari
sor()).end().to(TO_FOLDER); > > On Thu, Oct 15, 2009 at 5:01 PM, kodcanavari > wrote: > >> >> Hi, >> >> I want to use an aggregator in order to aggregate all messages comming. >> On my route i'm making a split with a splitter , then i process every

How to aggregate all messages into a single message?

2009-10-15 Thread kodcanavari
Hi, I want to use an aggregator in order to aggregate all messages comming. On my route i'm making a split with a splitter , then i process every messages in parallel and then i want to aggregate them all into a single file. Here is my snippet : this.from(FROM_FOLDER).split(new LdapEntitySpl