Skip to main content

how to create an entity automatically when deploy a resource adaptor

4 replies [Last post]
baoconvn2003
Offline
Joined: 2009-07-10

Hi everybody,

I have developed a resource adaptor which connect to a telnet server. when I deploy the RA, I have to create an entity manually for the RA.

But when I deploy SMPP RA, mobicents automatically create an entity named SmppRA.
Please show me how can I do like that.

Thanks in advance,
Giangnh.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexrug
Offline
Joined: 2009-08-27

I think you can do it via JMX, with ant. Check the available actions for slee-management ant task.

This is how you can deploy DU files:


baoconvn2003
Offline
Joined: 2009-07-10

Hi alexrug,

I can deploy RA by ant, but each time I restart Mobicent, I have to redeploy it.

I think change deploy-config.xml is a better way.

Thanks you very much

sachinparnami
Offline
Joined: 2008-07-28

AFAIK check for Du's deploy-config.xml for it

baoconvn2003
Offline
Joined: 2009-07-10

hi sachinparnami,

I just edit deploy-config.xml, add entities and Mobicents will automatically create entities for me.

Thanks you very much