I am interested in creating a content router in which I have message sender "A" sending messages that get transformed and then routed to two receivers. I am new to camel and want to know how I can write Routing rules and load them into ActiveMQ. I read documentation on setting up the routes, but not how to load the routes into ActiveMQ. I don't want to use XML, I would rather write code to do this since all the objects are custom to my project.
Any help on this would be greatly appreciated. thanks