I am having a problem getting the Service Broker External Activator (SBEA) working when pointed to an Availability Group Listener. If I point SBEA directly to the primary replica then it functions properly. The issue with that setup is when an automatic fail over occurs SBEA will stop being able to process messages as the database will then be in a Read-Only state (see error message below):
5/26/2016 7:54:30 AM EXCEPTION ERROR = 90, Internal exceptions have occurred when External Activator is receiving event notifications.
5/26/2016 7:54:30 AM EXCEPTIONDETAILS Inner Exception:
5/26/2016 7:54:30 AM EXCEPTIONDETAILS System.Data.SqlClient.SqlException: Failed to update database "ServiceBrokerNotification"because the database is read-only.
Does anyone know if there are any special considerations or documentation available for configuring SBEA with an Availability Group Listener?