This example will create a Topic Connection Factory and a Topic, and also includes a spring configuration example.
Add the following to your cargo configuration in pom.xml:
After you run 'mvn cargo:start', you can verify the config made it into your resin.conf with:
$> less target/resin3x/home/conf/resin.conf
You can also add a resource-ref for the Topic, but that is not necessarily required.
A spring config might look like this: