|
15 | 15 | let(:message) { "Hello There" }
|
16 | 16 |
|
17 | 17 | context 'when properties are skipped' do
|
18 |
| - let (:jms_config) { super.merge({'skip_properties' => ['this', 'that']})} |
| 18 | + let (:jms_config) { super().merge({'skip_properties' => ['this', 'that']})} |
19 | 19 |
|
20 | 20 | it 'should skip the specified property and process other properties, headers and the message' do
|
21 | 21 | send_message do |session|
|
|
35 | 35 | end
|
36 | 36 |
|
37 | 37 | context 'when using message selectors' do
|
38 |
| - let (:jms_config) { super.merge({'selector' => selector }) } |
| 38 | + let (:jms_config) { super().merge({'selector' => selector }) } |
39 | 39 |
|
40 | 40 | context 'with multiple selector query parameter' do
|
41 | 41 | let (:selector) { "this = 3 OR this = 4" }
|
|
145 | 145 | end
|
146 | 146 |
|
147 | 147 | context 'when headers are skipped' do
|
148 |
| - let (:jms_config) { super.merge({'skip_headers' => ['jms_destination', 'jms_reply_to']})} |
| 148 | + let (:jms_config) { super().merge({'skip_headers' => ['jms_destination', 'jms_reply_to']})} |
149 | 149 | it 'should skip the specified header and process other headers, properties and the message' do
|
150 | 150 | send_message do |session|
|
151 | 151 | msg = session.message(message)
|
|
241 | 241 | end
|
242 | 242 |
|
243 | 243 | context 'with pub_sub true and durable subscriber' do
|
244 |
| - let (:jms_config) { super.merge({'durable_subscriber' => true, |
| 244 | + let (:jms_config) { super().merge({'durable_subscriber' => true, |
245 | 245 | 'durable_subscriber_client_id' => SecureRandom.hex(8),
|
246 | 246 | 'durable_subscriber_name' => SecureRandom.hex(8) } ) }
|
247 | 247 |
|
|
258 | 258 |
|
259 | 259 | context 'with tls', :tls => true do
|
260 | 260 | let (:yaml_section) { 'activemq_tls' }
|
261 |
| - let (:jms_config) { super.merge({"keystore" => fixture_path("keystore.jks"), "keystore_password" => "changeit", |
| 261 | + let (:jms_config) { super().merge({"keystore" => fixture_path("keystore.jks"), "keystore_password" => "changeit", |
262 | 262 | "truststore" => fixture_path("keystore.jks"), "truststore_password" => "changeit"})}
|
263 | 263 |
|
264 | 264 | context 'with pub_sub true' do
|
|
267 | 267 | end
|
268 | 268 |
|
269 | 269 | context 'with pub_sub true and durable subscriber' do
|
270 |
| - let (:jms_config) { super.merge({'durable_subscriber' => true, |
| 270 | + let (:jms_config) { super().merge({'durable_subscriber' => true, |
271 | 271 | 'durable_subscriber_client_id' => SecureRandom.hex(8),
|
272 | 272 | 'durable_subscriber_name' => SecureRandom.hex(8) } ) }
|
273 | 273 |
|
|
0 commit comments