Add this:
camelContext.addComponent("test-jms",component);
And Replace:
public void configure() {
from("WHAT_GOES_HERE:topic:myTopic").to("direct:a")
}
With:
public void configure() {
from("test-jms:topic:myTopic").to("direct:a")
}
more info here: http://fusesource.com/docs/archives/router/1.6/deploy_guide/FMRDS.ACCC.html