|
8 | 8 | import no.obos.util.servicebuilder.addon.JdbiAddon; |
9 | 9 | import no.obos.util.servicebuilder.addon.JerseyClientAddon; |
10 | 10 | import no.obos.util.servicebuilder.addon.MetricsAddon; |
| 11 | +import no.obos.util.servicebuilder.addon.MqAddon; |
11 | 12 | import no.obos.util.servicebuilder.addon.ObosLogFilterAddon; |
12 | 13 | import no.obos.util.servicebuilder.addon.QueryRunnerAddon; |
13 | 14 | import no.obos.util.servicebuilder.addon.RequireAppNameHeaderAddon; |
|
17 | 18 | import no.obos.util.servicebuilder.addon.UserTokenFilterAddon; |
18 | 19 | import no.obos.util.servicebuilder.addon.WebAppAddon; |
19 | 20 | import no.obos.util.servicebuilder.model.ServiceDefinition; |
| 21 | +import no.obos.util.servicebuilder.mq.ActiveMqAddon; |
20 | 22 |
|
21 | 23 | public class Addons { |
22 | 24 |
|
@@ -126,21 +128,22 @@ public static ApplicationTokenFilterAddon applicationTokenFilter() { |
126 | 128 | /* |
127 | 129 | <dependency> |
128 | 130 | <groupId>no.obos.util</groupId> |
129 | | - <artifactId>servicebuilder-activemq</artifactId> |
| 131 | + <artifactId>servicebuilder-mq</artifactId> |
130 | 132 | </dependency> |
131 | | - */ |
132 | | - public static ActiveMqListenerAddon activeMqListener() { |
133 | | - return ActiveMqListenerAddon.defaults; |
| 133 | + */ |
| 134 | + public static MqAddon mq() { |
| 135 | + return MqAddon.defaults; |
134 | 136 | } |
135 | 137 |
|
| 138 | + |
136 | 139 | /* |
137 | 140 | <dependency> |
138 | 141 | <groupId>no.obos.util</groupId> |
139 | | - <artifactId>servicebuilder-activemq</artifactId> |
| 142 | + <artifactId>servicebuilder-mq-activemq</artifactId> |
140 | 143 | </dependency> |
141 | | - */ |
142 | | - public static ActiveMqSenderAddon activeMqSender() { |
143 | | - return ActiveMqSenderAddon.defaults; |
| 144 | + */ |
| 145 | + public static ActiveMqAddon activeMq() { |
| 146 | + return ActiveMqAddon.defaults; |
144 | 147 | } |
145 | 148 |
|
146 | 149 | public static ServiceConfig standardAddons(ServiceDefinition serviceDefinition) { |
|
0 commit comments