Hi,
I am using Notification service for one of the application. To set the broker i am using the following TSQL
ALTER DATABASE [DBName] SET ENABLE_BROKER WITH ROLLBACK AFTER 5 SECONDS
GO
...
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_23378875.html