mumbly wrote:
So I managed to get rid of the error message. I'm not sure if it is possible
to make the error message more informative. For example, in a very similar
situation, I had an error message when I had a route builder with jms, when
I didn't have camel-jms loaded and I got:
1) Failed to
So I managed to get rid of the error message. I'm not sure if it is possible
to make the error message more informative. For example, in a very similar
situation, I had an error message when I had a route builder with jms, when
I didn't have camel-jms loaded and I got:
1) Failed to resolve endpoi
Hi,
camel-guice has a jndi context which hold the reference of the JMS
component and the someBean. So you need to create that context in your
GuceServletConfig.
You can find use code in the MyActivitor[1] about how to create that
context.
[1]
https://svn.apache.org/repos/asf/camel/trunk/
Thanks for all the help so far. You're example worked great.
I'm running into an error when integrating the camel routes into a webapp
where I use the guice servlet for initialization. I have the same set of
changes you included in your diff, but the startup happens from a listener
defined in web
Hi,
I made a patch which is based on current trunk guicy-jms example to
implements you requirement. Hope it can help you.
Willem
### Eclipse Workspace Patch 1.0
#P camel-example-guice-jms
Index: src/main/java/org/apache/camel/example/guice/jms/SomeBean.java
===
On Thu, Nov 26, 2009 at 6:27 PM, mumbly wrote:
>
> So to make things simple, let's base it on the existing Guice/Camel example.
> So in SomeBean.java, let's say I want to include an injected component and
> add:
>
> public class SomeBean {
> �...@inject
> private OtherBean ob;
>
> public void so
So to make things simple, let's base it on the existing Guice/Camel example.
So in SomeBean.java, let's say I want to include an injected component and
add:
public class SomeBean {
@Inject
private OtherBean ob;
public void someMethod(String body) {
System.out.println("Received: " + bo
That would be great. Expanding the example a bit to include some injected
components would be nice, assuming that is possible (or making it possible
if not).
--Tim
Claus Ibsen-2 wrote:
>
> Hi
>
> I think James Strachan can shed lights on the camel-guice as he build it.
> I am sure there are s
What kind of Object you want to inject into the bean component?
Did you add that bind in your module ?
Please let me have a look at your module class.
Willem
mumbly wrote:
I've been taking a look at using Camel with Guice for DI, but I'm having a
little trouble understanding exactly what the i
Hi
I think James Strachan can shed lights on the camel-guice as he build it.
I am sure there are some features missing in this component so we can
use help to improve it.
On Wed, Nov 25, 2009 at 6:50 PM, mumbly wrote:
>
> I've been taking a look at using Camel with Guice for DI, but I'm having
10 matches
Mail list logo