[[HowshouldIinvokemyPOJOsorSpringServices-HowshouldIinvokemyPOJOsorSpringServices]]
= How should I invoke my POJOs or Spring Services?

The various options are described in detail in
xref:bean-integration.adoc[Bean Integration], in particular the
xref:bean-binding.adoc[Bean Binding] describes how we invoke a bean
inside a route.

See the xref:pojo-consuming.adoc[POJO Consuming] for examples using
either the `@Consume` annotation or using the routing DSL:

[source,java]
----
from("jms:someQueue").bean(MyBean.class, "someMethod");
----

