Re: Java DSL - Dynamic Broker Config

2011-06-07 Thread Hossein
Willem, Thanks for your email reply. How would I set up my connections in Java DSL? Usually, I setup the connection in Spring like [1]. However, that would work for connecting to 1 broker. Our requirement is to connect to +100 brokers. Yes that is correct +100 brokers. The plan is to have multipl

Java DSL - Dynamic Broker Config

2011-06-06 Thread Hossein
ing a loop. I'm able to load properties, retrieve all related keys, access all attributes, but am sort-of stuck on setting up the route in the from() clause. I appreciate all help. Regards, M. Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/Java-DSL-Dyna

Patch - Aggregator EIP

2011-01-31 Thread Hossein
Hi, Wanted to submit a patch on link below. The given example produces NPE because on first message, the oldExchange is null. http://fusesource.com/docs/router/1.5/eip/MsgRout-Aggregator.html --Hossein Amerkashi package some.package; import

Re: camel 2.4 and cxf issue - works in 2.2

2010-11-01 Thread Hossein
-fuse-01-00-features.xml. Commented out line 75 of above ( http )..." --- Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/camel-2-4-and-cxf-issue-works-in-2-2-tp3233662p3244904.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel 2.4 and cxf issue - works in 2.2

2010-10-23 Thread Hossein
I thought Camel 2.x supports Spring 2.5 and 3.0 and we can still use Spring 2.5 in Camel 2.4 and Spring 3.0 features will later be used by Camel 3.0. Is this incorrect? --- Hossein. -- View this message in context: http://camel.465427.n5.nabble.com/camel-2-4-and-cxf-issue-works-in-2-2

camel 2.4 and cxf issue - works in 2.2

2010-10-23 Thread Hossein
Hello, We were using fusesource 4.2 SP 1 and have some cxf endpoint that can be deployed into SMX 4.2 SP 1 with no problem. Just switching to fusesource 4.3 which includes camel 2.4 and running into issue deploying into SMX. I think this has to do with schema being used, but don't really know how

JMS filtering based on selector

2010-10-20 Thread Hossein
uot;someid") Is above correct? For some reason, I don't get the filtered message and the result is camel return ALL messages of the initial queue? Thanks. --- Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/JMS-filtering-based-on-selector-tp3229317p322

Re: How to convert Camel message to soap message

2010-10-10 Thread Hossein
What version of camel are you using? Soap dataformat can be used with camel 2.3+ --- Hossein -- View this message in context: http://camel.465427.n5.nabble.com/How-to-convert-Camel-message-to-soap-message-tp3205888p3206979.html Sent from the Camel - Users mailing list archive at Nabble.com.

JMS Selector

2010-10-10 Thread Hossein
to(someOtherQueue). However, I'm having difficulty and was wondering if anyone else has had issues. --- Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Selector-tp3206691p3206691.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: property-placeholder and classpath

2010-10-07 Thread Hossein
Using file instead of classpath worked-out great and I can just refresh the bundle so that it will reload the new property file. Follow-up to that, we have a camel route (bundle) that is that invokes a camel cxf andd is completely in spring dsl and I can't really change that to java dsl. I would

Re: property-placeholder and classpath

2010-10-07 Thread Hossein
Ok, will definitely give that a try. Meanwhile, per original post, can I use file: instead of classpath in [1] ? [1] Thanks Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3203107.html Sent from the Camel

Re: property-placeholder and classpath

2010-10-07 Thread Hossein
Hi Ade, I haven't, but I believe there is a JIRA against this. Also, not sure if that alternative would work with fuse 4.2 sp1 -Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3202968.html Sent from the

Re: property-placeholder and classpath

2010-10-07 Thread Hossein
same concept? Thanks Hossein -- View this message in context: http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3202906.html Sent from the Camel - Users mailing list archive at Nabble.com.

property-placeholder and classpath

2010-10-07 Thread Hossein
? Thanks, Hossein Amerkashi -- View this message in context: http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3202843.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring Security

2010-09-17 Thread Hossein
Unfortunately, that won't work us. We have to use official released versions, which currently is fuse-4.2 which includes camel 2.2. Any other suggestions / doc reference is greatly appreciated. Thanks Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Spring-Security-tp2

Spring Security

2010-09-17 Thread Hossein
Hello, I'm using camel 2.2 and need to implement security for invoking my webservice. Is spring security available for camel 2.2? If not any suggestions on how to authorize and authenticate users? Thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/Spring-Securi

Re: GUI route builder

2010-09-15 Thread Hossein
I agree. IntelliJ IDEA is a great IDE. Make sure you also get the OSGi plugin; http://plugins.intellij.net/plugin/?idea&id=1816 -- Hossein -- View this message in context: http://camel.465427.n5.nabble.com/GUI-route-builder-tp2839315p2841666.html Sent from the Camel - Users mailing

Re: log4j not writing to log file

2010-09-13 Thread Hossein
I'm using camel 2.2 and mvn camel:run to execute. -- View this message in context: http://camel.465427.n5.nabble.com/log4j-not-writing-to-log-file-tp2838161p2838262.html Sent from the Camel - Users mailing list archive at Nabble.com.

log4j not writing to log file

2010-09-13 Thread Hossein
Hello, I'm trying to setup log4j to write to an output file, but am not successfull. I get my log messages on console, but the file does not get created. log4j.rootLogger=INFO, C, F # CONSOLE appender log4j.appender.C=org.apache.log4j.ConsoleAppender log4j.appender.C.layout=org.apache.log4j.Pa

Camel route and transaction

2010-09-07 Thread Hossein
Hello, I have a camel route client that is defined as follows Does the above route be enforces a transaction on the entire route? If I place a request message in the request/folder and for some reason, myService,

Camel Pub Sub and security

2010-08-09 Thread Hossein
Hello, Is there any camel example to show how to setup standalone publisher and standalone subscriber? How should subscribers be added to topic? How should the security be integrated into this; for my topic, how do I control only valid subscribers being able to read from topic? Thanks -- View t

Dynamic Routes

2010-07-29 Thread Hossein
Hello, Is there anyway to dynamically setup routes? For example, I'm trying to setup a route using a File component. In that file there will be something like the following: MQ_USERS_DATA_TOPIC=/the/file/location I would like to read this file and then setup a route from above folder to MQ_USERS