Skip to content

Commit

Permalink
Merge pull request #182 from graben/jms
Browse files Browse the repository at this point in the history
Add default value for JMS pool name to reduce needed configuration for proper registration in Narayana
  • Loading branch information
geoand authored Jan 7, 2025
2 parents eb2e51a + 84e7c5f commit f5c700b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

public class MessagingHubConnectionFactoryProperties {

private boolean enabled;
private String name;
private boolean enabled = false;
private String name = "jms";
private int maxConnections = 1;
private Duration connectionIdleTimeout = Duration.ofSeconds(30);
private Duration connectionCheckInterval = Duration.ofMillis(-1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.agroal.flushOnClose=true",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
@Testcontainers
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.agroal.flushOnClose=true",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
@Testcontainers
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc"
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
@Testcontainers
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc"
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
@Testcontainers
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc"
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
@Testcontainers
@SpringBootTest(classes = TestApplication.class, properties = {
"narayana.messaginghub.enabled=true",
"narayana.messaginghub.name=jms",
"spring.datasource.generateUniqueName=false",
"spring.datasource.name=jdbc"
})
Expand Down

0 comments on commit f5c700b

Please sign in to comment.