[URGENT] map roles and permissions to use with camel-shiro and ldap

2012-05-19 Thread mgiammarco
Hello, I am using shiro with camel. I can authenticate an user with activedirectory (ldap) but I am not able to map user groups in roles to user permissions. And camel needs absolutely permissions to work. Here is my config.ini: [main] authcStrategy = org.apache.shiro.authc.pam.FirstSuccessfulStr

Re: Unable to read properties from camel PropertiesComponent

2012-05-19 Thread Claus Ibsen
Hi This should work, see for example the SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml from the unit tests of camel-spring. On Fri, May 18, 2012 at 5:58 PM, javaxmlsoapdev wrote: > camel doesn't recognize spring property format ${} doesn't work. Also look at > this post where user

Re: [Suggest] Add a camel-mllp component into the incubator

2012-05-19 Thread Claus Ibsen
Hi Welcome to the community. We could do this from the existing camel-hl7 component, by including a mllp component. That would be the better place to add this component. Feel free to work on a patch, and attach it to a JIRA ticket. Remember to mark [x] in grant license to Apache. On Thu, May

Re: Delay route start

2012-05-19 Thread Claus Ibsen
On Thu, May 10, 2012 at 4:52 PM, Claus Ibsen wrote: > On Thu, May 10, 2012 at 4:48 PM, PhilBurress wrote: >> Mainly this has to do with startup order of applications in our WAS server >> instance (which we unfortunately cannot change). Just need a small delay of >> 10 to 15 seconds. >> > > With c

Re: Fuse high availability & disaster recovery..

2012-05-19 Thread Claus Ibsen
Hi Omar As Christian says, you should contact FuseSource if you have questions about their products. This is the public *Apache* mailing list. At FuseSource you can use the contact us, to get in touch with a person that can help you. Or use the fuse forum to ask your question etc. On Wed, May

Re: Converting CSV to XML

2012-05-19 Thread Claus Ibsen
Hi See Bindy, and then you can annotate the bindy model class with JAXB annotations, and then convert to XML. http://camel.apache.org/bindy Jonathan's article has an example showing this. http://java.dzone.com/articles/open-source-integration-apache On Wed, May 16, 2012 at 9:55 PM, ambarish.d w

Re: Intercepting documentation old? adviceWith deprecated in favour of?

2012-05-19 Thread Claus Ibsen
Hi See the javadoc. There is a ModelCamelContext in the model package you can cast the CamelContext as, and it offers these methods. On Fri, May 18, 2012 at 4:30 PM, Tom Howe wrote: > The documentation for intercepting routes at > http://camel.apache.org/advicewith.html shows using getRouteDef

Re: with osgi service reference

2012-05-19 Thread Claus Ibsen
ThrowException must be a Throwable, not an interface. On Fri, May 18, 2012 at 9:13 AM, m.jimen.blazquez wrote: > Hi, > > I am trying to rethrow an excepcion in a . > > When I have this code: > > >         > > > xmlns="http://camel.apache.org/schema/spring";> > >     >             uri="cxfrs

Re: dynamic endpoint in ftp component

2012-05-19 Thread Claus Ibsen
On Fri, May 18, 2012 at 5:00 AM, cbuxbaum wrote: > the dynamic portion required is not in the move, it is in the starting > directory to poll.  This remains static for the life of the route.  I could > specify the directory in the filter, and I have indeed gotten that to work > out, but this requi

Re: Improving the Documentation (Articles, Presentations, etc.)

2012-05-19 Thread Claus Ibsen
Hi Yeah. I though about going back in the history of the page, and add years to the headings, so you can see from what year the link was added. Currently the top links are the oldest, and well Camel is about 5 years old, so some of these links is not so interresting anymore. Fell free to help im

Re: Stuck In-Flight Messages

2012-05-19 Thread Claus Ibsen
On Thu, May 17, 2012 at 9:16 PM, PhilBurress wrote: > Can anyone tell me what are the various conditions what would causes messages > to get stuck in-flight? > Messages are still in progress of being processed. For example with request/reply, then a reply message is not come back etc. > -- > Vi

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-19 Thread Claus Ibsen
Hi Post the stacktrace, and what Camel version you are using. On Wed, May 16, 2012 at 5:35 PM, Michael Süess wrote: > I use vm (or seda) with ?multipleConsumers=true to implement a request-reply > observer pattern: > > > > http://www.springframework.org/schema/beans"; >       xmlns:xsi="http:

Re: How to use variable in an endpoint

2012-05-19 Thread Claus Ibsen
Hi See also this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Tue, May 15, 2012 at 5:24 PM, Charpente wrote: > Hi, > > I would like to know if it's possible to integrate a variable, like a > String, in a route. > > For example: > > ParserXml parser = new ParserXml(); > Stri

Re: Logging receipient from receipientList after message is delivered to it

2012-05-19 Thread Claus Ibsen
On Tue, May 15, 2012 at 6:38 PM, javaxmlsoapdev wrote: > I am using .recipientList(header("recepientList")).parallelProcessing() where > "receipientList" is a List of queueNames where message is being published > to. > > AFTER message is published to each "receipient queue" I want to log a > messa

Re: Splitting XML but including attribute from parent-document

2012-05-19 Thread Claus Ibsen
On Tue, May 15, 2012 at 1:31 AM, pkleczka wrote: > Hi > > I have an xml file that I am trying to split but for each split file I want > to include an attribute from the parent node. Suppose I have an "AllOrders" > document and it has a "BatchNumber" attribute.  The "AllOrders" node > contains many

Re: Error handling and invoking certain logic unconditionally

2012-05-19 Thread Claus Ibsen
On Tue, May 15, 2012 at 5:47 PM, Ignat wrote: > Thanks, Claus. > > For some reason I saw your reply just now (and did not receive any e-mails > from nabble, which is strange). > > Is there a way to attach unit of work synchronization code in Spring DSL ? > > This would be real help! > No you need

Re: Unable to read properties from camel PropertiesComponent

2012-05-19 Thread javaxmlsoapdev
camel doesn't recognize spring property format ${} doesn't work. Also look at this post where user was able to use camel property component http://grokbase.com/t/camel/users/122gn6jvjq/property-placeholder Following camel link also suggests we don't need to put {{ }} http://camel.apache.org/prop

Re: Unable to read properties from camel PropertiesComponent

2012-05-19 Thread James Carman
You need delimiters around your property name. On Fri, May 18, 2012 at 9:07 AM, javaxmlsoapdev wrote: > I have defined "properties" bean of type camel PropertiesComponent as shown > below. "my.properties" has > threadPool.defaultSize and threadPool.maxPoolSize properties defined. > However camel

Re: Converting CSV to XML

2012-05-19 Thread ambarish.d
Yogesh, Actually, I am looking for more generic solution which will take any CSV as input and convert it into required XML format. So is the reason I cant use XSLT in this case. Its my bad that I didnt specified this in original problem description. Please let me know if I am wrong in understandi