I have resolved this kind of issue by dynamically generating and deploying an service-assembly. Depending on how you start ServiceMix (embedded or not) deploying might have different meanings. I created a service-assembly by hand separately (following examples) and after that I created all the code that generates the same files and deploys them into a service mix installation. The jar utility from Java SDK does to trick!

Hope this helps! :-)

Hamlet84 wrote:
Hi. I would to add Endpoint programmatically to my application.

The scenario is the follow:
 periodically the application pull list of address from database
if there's new address in list it will create a new HTTP endpoint
Can you help me with an example?

Very thanks

Reply via email to