Integrar SQL Service Broker y NServiceBus

Mi requisito es que tengo "artículos" con diferentes estados. Necesito hacer todo tipo de cosas diferentes en función del estado de estos elementos (enviar correos electrónicos, almacenar archivos, actualizar aplicaciones internas, etc.). El problema es que la aplicación que actualiza estos estados es de terceros, por lo que no puedo actualizarla; La dificultad es el hecho de que solo la mitad de la organización está usando este sistema y la otra está usando su reemplazo futuro. Tengo acceso abierto a las dos bases de datos utilizadas.

i plan es agregar un mensaje a una cola de SQL Service Broker con una ID y el estado a través de un disparador en cada representación de laItem mesa. Luego, llame a un procedimiento CLR desde el procedimiento de activación SSB que agrega un mensaje a una cola de publicación a través de NServiceBus.

Todo parecía funcionar bien hasta que intenté registrar mis ensamblados en SQL conCREATE ASSEMBLY:

Msg 10327, Level 14, State 1, Line 1
Warning: The Microsoft .NET Framework assembly 'system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=x86.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.

etc. etc. etc.

CREATE ASSEMBLY for assembly 'System.Web' failed because assembly 'System.Web' is not authorized for PERMISSION_SET = UNSAFE.  The assembly is authorized when either of the following is true: the database owner (DBO) has UNSAFE ASSEMBLY permission and the database has the TRUSTWORTHY database property on; or the assembly is signed with a certificate or an asymmetric key that has a corresponding login with UNSAFE ASSEMBLY permission.
Msg 10301, Level 16, State 1, Line 2
Assembly 'log4net' references assembly 'system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.
Msg 6218, Level 16, State 3, Line 3
CREATE ASSEMBLY for assembly 'NServiceBus.Core' failed because assembly 'NServiceBus.Core' failed verification. Check if the referenced assemblies are up-to-date and trusted (for external_access or unsafe) to execute in the database. CLR Verifier error messages if any will follow this message
Msg 6218, Level 16, State 3, Line 4
CREATE ASSEMBLY for assembly 'NServiceBus' failed because assembly 'NServiceBus' failed verification. Check if the referenced assemblies are up-to-date and trusted (for external_access or unsafe) to execute in the database. CLR Verifier error messages if any will follow this message

Primero, quiero saber si esta es una idea completamente loca. Quiero que los mensajes se procesen en orden y se agreguen a las colas de forma asincrónica. NServiceBus proporciona una aplicación de host que hace que sea muy fácil activar nuevos editores cuando sea necesario. La alternativa parece ser escribir un servicio de Windows que supervise la cola SSB y luego publicar. Solo me gustaría algunas opiniones o consejos. Gracias

Respuestas a la pregunta(2)

Su respuesta a la pregunta