Multiple instance of similar publisher type

Oct 10, 2014 at 10:46 PM
Please can you let me know if i could configure publishing to 2 sql instances.(SqlPublisher)
For this i created 2 publisher files. Both have the same plugintype and configurationType. The only change is in the connection name.
Since when we try to register INotificationEventPublisher,IPluginType , it will throw the exception as the name already exists. Even if we mofify by having a named instance registration, it fails to pick up the right configuration information.
Please advice. Thanks.
Oct 13, 2014 at 9:13 AM

It should work in v3.0.26 (the change was made in July: changeset here).

The plugin name is now used to create a named instance (rather than just the type name) in the container - the fix was applied to both activity & publisher plugins. I made this change as part of the periscope dashboard plug-in as it requires multiple publishers of the same type to be active to push notifications to the dashboard so I'm pretty sure it works.

If you still have trouble can you post the json config file for each sql publisher you have set up?