camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlykes <>
Subject Combining Camel Proxying with Shiro for authentication Issue
Date Mon, 18 Mar 2013 13:37:44 GMT
I am having issues combining Camel Proxying with Shiro for authentication and
wanted to know if anyone else has had a similar problem. Please let me know
if I should attach the source code of the project?

The Key line is below where I am making a camel proxy as a dependency of the
realm. I am guessing that shiro is being setup before the Camel Context has
been fully initialized. Any guidance would be appreciated.
	public SimpleAccountRealm simpleAuthorizingRealm(MathService service) {
		SimpleAccountRealm realm = new SimpleAccountRealm();
		realm.addAccount("bob", "password");
		return realm;

Below is the specific error I am receiving:

Caused by: java.lang.IllegalArgumentException: camelContext or
camelContextId must be specified
	... 72 more

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message