diff --git a/jgroups/README.md b/messaging-modules/jgroups/README.md similarity index 100% rename from jgroups/README.md rename to messaging-modules/jgroups/README.md diff --git a/jgroups/pom.xml b/messaging-modules/jgroups/pom.xml similarity index 88% rename from jgroups/pom.xml rename to messaging-modules/jgroups/pom.xml index 370d8a349a..ec094ac53a 100644 --- a/jgroups/pom.xml +++ b/messaging-modules/jgroups/pom.xml @@ -4,15 +4,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 jgroups - 0.1-SNAPSHOT jgroups jar Reliable Messaging with JGroups Tutorial com.baeldung - parent-modules - 1.0.0-SNAPSHOT + messaging-modules + 0.0.1-SNAPSHOT @@ -32,4 +31,4 @@ 4.0.10.Final - \ No newline at end of file + diff --git a/jgroups/src/main/java/com/baeldung/jgroups/JGroupsMessenger.java b/messaging-modules/jgroups/src/main/java/com/baeldung/jgroups/JGroupsMessenger.java similarity index 100% rename from jgroups/src/main/java/com/baeldung/jgroups/JGroupsMessenger.java rename to messaging-modules/jgroups/src/main/java/com/baeldung/jgroups/JGroupsMessenger.java diff --git a/jgroups/src/main/resources/logback.xml b/messaging-modules/jgroups/src/main/resources/logback.xml similarity index 100% rename from jgroups/src/main/resources/logback.xml rename to messaging-modules/jgroups/src/main/resources/logback.xml diff --git a/jgroups/src/main/resources/udp.xml b/messaging-modules/jgroups/src/main/resources/udp.xml similarity index 100% rename from jgroups/src/main/resources/udp.xml rename to messaging-modules/jgroups/src/main/resources/udp.xml diff --git a/messaging-modules/pom.xml b/messaging-modules/pom.xml new file mode 100644 index 0000000000..0fa5d81c40 --- /dev/null +++ b/messaging-modules/pom.xml @@ -0,0 +1,24 @@ + + + 4.0.0 + messaging-modules + messaging-modules + pom + + + parent-boot-2 + com.baeldung + 0.0.1-SNAPSHOT + ../parent-boot-2 + + + + jgroups + rabbitmq + spring-amqp + spring-apache-camel + spring-jms + + diff --git a/rabbitmq/README.md b/messaging-modules/rabbitmq/README.md similarity index 100% rename from rabbitmq/README.md rename to messaging-modules/rabbitmq/README.md diff --git a/rabbitmq/docker-compose.yaml b/messaging-modules/rabbitmq/docker-compose.yaml similarity index 100% rename from rabbitmq/docker-compose.yaml rename to messaging-modules/rabbitmq/docker-compose.yaml diff --git a/rabbitmq/pom.xml b/messaging-modules/rabbitmq/pom.xml similarity index 93% rename from rabbitmq/pom.xml rename to messaging-modules/rabbitmq/pom.xml index c7a299b74f..69476ba31b 100644 --- a/rabbitmq/pom.xml +++ b/messaging-modules/rabbitmq/pom.xml @@ -9,9 +9,8 @@ com.baeldung - parent-boot-2 + messaging-modules 0.0.1-SNAPSHOT - ../parent-boot-2 diff --git a/rabbitmq/src/main/java/com/baeldung/benchmark/ConnectionPerChannelPublisher.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/ConnectionPerChannelPublisher.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/benchmark/ConnectionPerChannelPublisher.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/ConnectionPerChannelPublisher.java diff --git a/rabbitmq/src/main/java/com/baeldung/benchmark/SharedConnectionPublisher.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SharedConnectionPublisher.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/benchmark/SharedConnectionPublisher.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SharedConnectionPublisher.java diff --git a/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisher.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisher.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisher.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisher.java diff --git a/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisherNio.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisherNio.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisherNio.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/SingleConnectionPublisherNio.java diff --git a/rabbitmq/src/main/java/com/baeldung/benchmark/Worker.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/Worker.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/benchmark/Worker.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/benchmark/Worker.java diff --git a/rabbitmq/src/main/java/com/baeldung/consumer/Receiver.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/consumer/Receiver.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/consumer/Receiver.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/consumer/Receiver.java diff --git a/rabbitmq/src/main/java/com/baeldung/producer/Publisher.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/producer/Publisher.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/producer/Publisher.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/producer/Publisher.java diff --git a/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/ClientApplication.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/ClientApplication.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/pubsubmq/client/ClientApplication.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/ClientApplication.java diff --git a/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/Consumer.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/Consumer.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/pubsubmq/client/Consumer.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/client/Consumer.java diff --git a/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/Publisher.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/Publisher.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/pubsubmq/server/Publisher.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/Publisher.java diff --git a/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/ServerApplication.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/ServerApplication.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/pubsubmq/server/ServerApplication.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/pubsubmq/server/ServerApplication.java diff --git a/rabbitmq/src/main/java/com/baeldung/setup/Setup.java b/messaging-modules/rabbitmq/src/main/java/com/baeldung/setup/Setup.java similarity index 100% rename from rabbitmq/src/main/java/com/baeldung/setup/Setup.java rename to messaging-modules/rabbitmq/src/main/java/com/baeldung/setup/Setup.java diff --git a/rabbitmq/src/main/resources/logback.xml b/messaging-modules/rabbitmq/src/main/resources/logback.xml similarity index 100% rename from rabbitmq/src/main/resources/logback.xml rename to messaging-modules/rabbitmq/src/main/resources/logback.xml diff --git a/rabbitmq/src/rabbitmq/20-mem.conf b/messaging-modules/rabbitmq/src/rabbitmq/20-mem.conf similarity index 100% rename from rabbitmq/src/rabbitmq/20-mem.conf rename to messaging-modules/rabbitmq/src/rabbitmq/20-mem.conf diff --git a/rabbitmq/src/test/java/com/baeldung/benchmark/ConnectionPerChannelPublisherLiveTest.java b/messaging-modules/rabbitmq/src/test/java/com/baeldung/benchmark/ConnectionPerChannelPublisherLiveTest.java similarity index 100% rename from rabbitmq/src/test/java/com/baeldung/benchmark/ConnectionPerChannelPublisherLiveTest.java rename to messaging-modules/rabbitmq/src/test/java/com/baeldung/benchmark/ConnectionPerChannelPublisherLiveTest.java diff --git a/rabbitmq/src/test/java/com/baeldung/benchmark/SingleConnectionPublisherLiveTest.java b/messaging-modules/rabbitmq/src/test/java/com/baeldung/benchmark/SingleConnectionPublisherLiveTest.java similarity index 100% rename from rabbitmq/src/test/java/com/baeldung/benchmark/SingleConnectionPublisherLiveTest.java rename to messaging-modules/rabbitmq/src/test/java/com/baeldung/benchmark/SingleConnectionPublisherLiveTest.java diff --git a/spring-amqp/README.md b/messaging-modules/spring-amqp/README.md similarity index 100% rename from spring-amqp/README.md rename to messaging-modules/spring-amqp/README.md diff --git a/spring-amqp/pom.xml b/messaging-modules/spring-amqp/pom.xml similarity index 89% rename from spring-amqp/pom.xml rename to messaging-modules/spring-amqp/pom.xml index 1a0b78c26e..7b2f7d518c 100755 --- a/spring-amqp/pom.xml +++ b/messaging-modules/spring-amqp/pom.xml @@ -10,9 +10,8 @@ com.baeldung - parent-boot-2 + messaging-modules 0.0.1-SNAPSHOT - ../parent-boot-2 diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastConfig.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastConfig.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastConfig.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastConfig.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/ErrorHandlingApp.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/ErrorHandlingApp.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/ErrorHandlingApp.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/ErrorHandlingApp.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXCustomAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXCustomAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXCustomAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXCustomAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXParkingLotAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXParkingLotAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXParkingLotAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/DLXParkingLotAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/FatalExceptionStrategyAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/FatalExceptionStrategyAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/FatalExceptionStrategyAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/FatalExceptionStrategyAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/ListenerErrorHandlerAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/ListenerErrorHandlerAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/ListenerErrorHandlerAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/ListenerErrorHandlerAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/RoutingKeyDLQAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/RoutingKeyDLQAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/RoutingKeyDLQAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/RoutingKeyDLQAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/SimpleDLQAmqpConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/SimpleDLQAmqpConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/SimpleDLQAmqpConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/configuration/SimpleDLQAmqpConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/DLQCustomAmqpContainer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/DLQCustomAmqpContainer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/DLQCustomAmqpContainer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/DLQCustomAmqpContainer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/MessagesConsumer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/MessagesConsumer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/MessagesConsumer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/MessagesConsumer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/ParkingLotDLQAmqpContainer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/ParkingLotDLQAmqpContainer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/ParkingLotDLQAmqpContainer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/ParkingLotDLQAmqpContainer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/RoutingDLQAmqpContainer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/RoutingDLQAmqpContainer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/RoutingDLQAmqpContainer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/RoutingDLQAmqpContainer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/SimpleDLQAmqpContainer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/SimpleDLQAmqpContainer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/SimpleDLQAmqpContainer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/consumer/SimpleDLQAmqpContainer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/BusinessException.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/BusinessException.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/BusinessException.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/BusinessException.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomErrorHandler.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomErrorHandler.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomErrorHandler.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomErrorHandler.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomFatalExceptionStrategy.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomFatalExceptionStrategy.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomFatalExceptionStrategy.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/errorhandler/CustomFatalExceptionStrategy.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/producer/MessageProducer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/producer/MessageProducer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/producer/MessageProducer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/errorhandling/producer/MessageProducer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffApp.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffApp.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffApp.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffApp.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ObservableRejectAndDontRequeueRecoverer.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ObservableRejectAndDontRequeueRecoverer.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ObservableRejectAndDontRequeueRecoverer.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/ObservableRejectAndDontRequeueRecoverer.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RabbitConfiguration.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RabbitConfiguration.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RabbitConfiguration.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RabbitConfiguration.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueues.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueues.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueues.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueues.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueuesInterceptor.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueuesInterceptor.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueuesInterceptor.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/exponentialbackoff/RetryQueuesInterceptor.java diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/simple/HelloWorldMessageApp.java b/messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/simple/HelloWorldMessageApp.java similarity index 100% rename from spring-amqp/src/main/java/com/baeldung/springamqp/simple/HelloWorldMessageApp.java rename to messaging-modules/spring-amqp/src/main/java/com/baeldung/springamqp/simple/HelloWorldMessageApp.java diff --git a/spring-amqp/src/main/resources/application.properties b/messaging-modules/spring-amqp/src/main/resources/application.properties similarity index 100% rename from spring-amqp/src/main/resources/application.properties rename to messaging-modules/spring-amqp/src/main/resources/application.properties diff --git a/spring-amqp/src/test/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffLiveTest.java b/messaging-modules/spring-amqp/src/test/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffLiveTest.java similarity index 100% rename from spring-amqp/src/test/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffLiveTest.java rename to messaging-modules/spring-amqp/src/test/java/com/baeldung/springamqp/exponentialbackoff/ExponentialBackoffLiveTest.java diff --git a/spring-amqp/src/test/resources/logback-test.xml b/messaging-modules/spring-amqp/src/test/resources/logback-test.xml similarity index 100% rename from spring-amqp/src/test/resources/logback-test.xml rename to messaging-modules/spring-amqp/src/test/resources/logback-test.xml diff --git a/spring-apache-camel/.gitignore b/messaging-modules/spring-apache-camel/.gitignore similarity index 100% rename from spring-apache-camel/.gitignore rename to messaging-modules/spring-apache-camel/.gitignore diff --git a/spring-apache-camel/README.md b/messaging-modules/spring-apache-camel/README.md similarity index 100% rename from spring-apache-camel/README.md rename to messaging-modules/spring-apache-camel/README.md diff --git a/spring-apache-camel/pom.xml b/messaging-modules/spring-apache-camel/pom.xml similarity index 90% rename from spring-apache-camel/pom.xml rename to messaging-modules/spring-apache-camel/pom.xml index de7bd1287a..8ba1697d3d 100644 --- a/spring-apache-camel/pom.xml +++ b/messaging-modules/spring-apache-camel/pom.xml @@ -3,19 +3,18 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - org.apache.camel + org.baeldung.apache.camel spring-apache-camel - 1.0-SNAPSHOT spring-apache-camel jar http://maven.apache.org com.baeldung - parent-modules - 1.0.0-SNAPSHOT + messaging-modules + 0.0.1-SNAPSHOT - + org.apache.camel @@ -66,4 +65,4 @@ 4.3.4.RELEASE - \ No newline at end of file + diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/ContentBasedFileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/ContentBasedFileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/ContentBasedFileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/ContentBasedFileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/DeadLetterChannelFileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/DeadLetterChannelFileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/DeadLetterChannelFileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/DeadLetterChannelFileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileProcessor.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileProcessor.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/FileProcessor.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileProcessor.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/FileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/FileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/MessageTranslatorFileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/MessageTranslatorFileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/MessageTranslatorFileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/MessageTranslatorFileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/MulticastFileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/MulticastFileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/MulticastFileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/MulticastFileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/SplitterFileRouter.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/SplitterFileRouter.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/SplitterFileRouter.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/SplitterFileRouter.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/file/cfg/ContentBasedFileRouterConfig.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/cfg/ContentBasedFileRouterConfig.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/file/cfg/ContentBasedFileRouterConfig.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/file/cfg/ContentBasedFileRouterConfig.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/Fruit.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/Fruit.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/jackson/Fruit.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/Fruit.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/FruitList.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/FruitList.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/jackson/FruitList.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/jackson/FruitList.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/main/App.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/main/App.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/main/App.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/main/App.java diff --git a/spring-apache-camel/src/main/java/com/baeldung/camel/processor/FileProcessor.java b/messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/processor/FileProcessor.java similarity index 100% rename from spring-apache-camel/src/main/java/com/baeldung/camel/processor/FileProcessor.java rename to messaging-modules/spring-apache-camel/src/main/java/com/baeldung/camel/processor/FileProcessor.java diff --git a/spring-apache-camel/src/main/resources/camel-context-ContentBasedFileRouterTest.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-ContentBasedFileRouterTest.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-ContentBasedFileRouterTest.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-ContentBasedFileRouterTest.xml diff --git a/spring-apache-camel/src/main/resources/camel-context-DeadLetterChannelFileRouter.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-DeadLetterChannelFileRouter.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-DeadLetterChannelFileRouter.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-DeadLetterChannelFileRouter.xml diff --git a/spring-apache-camel/src/main/resources/camel-context-MessageTranslatorFileRouterTest.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-MessageTranslatorFileRouterTest.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-MessageTranslatorFileRouterTest.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-MessageTranslatorFileRouterTest.xml diff --git a/spring-apache-camel/src/main/resources/camel-context-MulticastFileRouterTest.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-MulticastFileRouterTest.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-MulticastFileRouterTest.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-MulticastFileRouterTest.xml diff --git a/spring-apache-camel/src/main/resources/camel-context-SplitterFileRouter.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-SplitterFileRouter.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-SplitterFileRouter.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-SplitterFileRouter.xml diff --git a/spring-apache-camel/src/main/resources/camel-context-test.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context-test.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context-test.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context-test.xml diff --git a/spring-apache-camel/src/main/resources/camel-context.xml b/messaging-modules/spring-apache-camel/src/main/resources/camel-context.xml similarity index 100% rename from spring-apache-camel/src/main/resources/camel-context.xml rename to messaging-modules/spring-apache-camel/src/main/resources/camel-context.xml diff --git a/saas/src/main/resources/logback.xml b/messaging-modules/spring-apache-camel/src/main/resources/logback.xml similarity index 100% rename from saas/src/main/resources/logback.xml rename to messaging-modules/spring-apache-camel/src/main/resources/logback.xml diff --git a/spring-apache-camel/src/test/data/sampleInputFile/file.txt b/messaging-modules/spring-apache-camel/src/test/data/sampleInputFile/file.txt similarity index 100% rename from spring-apache-camel/src/test/data/sampleInputFile/file.txt rename to messaging-modules/spring-apache-camel/src/test/data/sampleInputFile/file.txt diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/ContentBasedFileRouterIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/ContentBasedFileRouterIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/ContentBasedFileRouterIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/ContentBasedFileRouterIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/DeadLetterChannelFileRouterIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/DeadLetterChannelFileRouterIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/DeadLetterChannelFileRouterIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/DeadLetterChannelFileRouterIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/FileProcessorIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/FileProcessorIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/FileProcessorIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/FileProcessorIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MessageTranslatorFileRouterIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MessageTranslatorFileRouterIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/MessageTranslatorFileRouterIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MessageTranslatorFileRouterIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MulticastFileRouterIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MulticastFileRouterIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/MulticastFileRouterIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/MulticastFileRouterIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/file/processor/SplitterFileRouterIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/SplitterFileRouterIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/file/processor/SplitterFileRouterIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/file/processor/SplitterFileRouterIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/apache/camel/main/AppIntegrationTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/main/AppIntegrationTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/apache/camel/main/AppIntegrationTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/apache/camel/main/AppIntegrationTest.java diff --git a/spring-apache-camel/src/test/java/com/baeldung/SpringContextTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/baeldung/SpringContextTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/baeldung/SpringContextTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/baeldung/SpringContextTest.java diff --git a/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitArrayJacksonUnmarshalUnitTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitArrayJacksonUnmarshalUnitTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitArrayJacksonUnmarshalUnitTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitArrayJacksonUnmarshalUnitTest.java diff --git a/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitListJacksonUnmarshalUnitTest.java b/messaging-modules/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitListJacksonUnmarshalUnitTest.java similarity index 100% rename from spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitListJacksonUnmarshalUnitTest.java rename to messaging-modules/spring-apache-camel/src/test/java/com/baeldung/camel/jackson/FruitListJacksonUnmarshalUnitTest.java diff --git a/spring-apache-camel/src/test/resources/json/fruit-array.json b/messaging-modules/spring-apache-camel/src/test/resources/json/fruit-array.json similarity index 100% rename from spring-apache-camel/src/test/resources/json/fruit-array.json rename to messaging-modules/spring-apache-camel/src/test/resources/json/fruit-array.json diff --git a/spring-apache-camel/src/test/resources/json/fruit-list.json b/messaging-modules/spring-apache-camel/src/test/resources/json/fruit-list.json similarity index 100% rename from spring-apache-camel/src/test/resources/json/fruit-list.json rename to messaging-modules/spring-apache-camel/src/test/resources/json/fruit-list.json diff --git a/spring-jms/README.md b/messaging-modules/spring-jms/README.md similarity index 100% rename from spring-jms/README.md rename to messaging-modules/spring-jms/README.md diff --git a/spring-jms/pom.xml b/messaging-modules/spring-jms/pom.xml similarity index 93% rename from spring-jms/pom.xml rename to messaging-modules/spring-jms/pom.xml index ab202402f3..398a2ec54c 100644 --- a/spring-jms/pom.xml +++ b/messaging-modules/spring-jms/pom.xml @@ -4,15 +4,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 spring-jms - 0.0.1-SNAPSHOT spring-jms war Introduction to Spring JMS com.baeldung - parent-modules - 1.0.0-SNAPSHOT + messaging-modules + 0.0.1-SNAPSHOT @@ -86,4 +85,4 @@ 1.5.10.RELEASE - \ No newline at end of file + diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/Employee.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/Employee.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/Employee.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/Employee.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsErrorHandler.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsErrorHandler.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsErrorHandler.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsErrorHandler.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleJmsMessageSender.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleListener.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleListener.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/SampleListener.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleListener.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/SampleMessageConverter.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleMessageConverter.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/SampleMessageConverter.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/SampleMessageConverter.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsApplication.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsApplication.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsApplication.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsApplication.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsConfig.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsConfig.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsConfig.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/JmsConfig.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageListener.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageListener.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageListener.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageListener.java diff --git a/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageSender.java b/messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageSender.java similarity index 100% rename from spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageSender.java rename to messaging-modules/spring-jms/src/main/java/com/baeldung/spring/jms/testing/MessageSender.java diff --git a/spring-jms/src/main/resources/EmbeddedActiveMQ.xml b/messaging-modules/spring-jms/src/main/resources/EmbeddedActiveMQ.xml similarity index 100% rename from spring-jms/src/main/resources/EmbeddedActiveMQ.xml rename to messaging-modules/spring-jms/src/main/resources/EmbeddedActiveMQ.xml diff --git a/spring-jms/src/main/resources/applicationContext.xml b/messaging-modules/spring-jms/src/main/resources/applicationContext.xml similarity index 100% rename from spring-jms/src/main/resources/applicationContext.xml rename to messaging-modules/spring-jms/src/main/resources/applicationContext.xml diff --git a/spring-apache-camel/src/main/resources/logback.xml b/messaging-modules/spring-jms/src/main/resources/logback.xml similarity index 100% rename from spring-apache-camel/src/main/resources/logback.xml rename to messaging-modules/spring-jms/src/main/resources/logback.xml diff --git a/spring-jms/src/main/webapp/META-INF/MANIFEST.MF b/messaging-modules/spring-jms/src/main/webapp/META-INF/MANIFEST.MF similarity index 100% rename from spring-jms/src/main/webapp/META-INF/MANIFEST.MF rename to messaging-modules/spring-jms/src/main/webapp/META-INF/MANIFEST.MF diff --git a/spring-jms/src/test/java/com/baeldung/SpringContextTest.java b/messaging-modules/spring-jms/src/test/java/com/baeldung/SpringContextTest.java similarity index 100% rename from spring-jms/src/test/java/com/baeldung/SpringContextTest.java rename to messaging-modules/spring-jms/src/test/java/com/baeldung/SpringContextTest.java diff --git a/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java b/messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java similarity index 100% rename from spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java rename to messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/DefaultTextMessageSenderIntegrationTest.java diff --git a/spring-jms/src/test/java/com/baeldung/spring/jms/testing/EmbeddedActiveMqIntegrationTest.java b/messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/testing/EmbeddedActiveMqIntegrationTest.java similarity index 100% rename from spring-jms/src/test/java/com/baeldung/spring/jms/testing/EmbeddedActiveMqIntegrationTest.java rename to messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/testing/EmbeddedActiveMqIntegrationTest.java diff --git a/spring-jms/src/test/java/com/baeldung/spring/jms/testing/TestContainersActiveMqLiveTest.java b/messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/testing/TestContainersActiveMqLiveTest.java similarity index 100% rename from spring-jms/src/test/java/com/baeldung/spring/jms/testing/TestContainersActiveMqLiveTest.java rename to messaging-modules/spring-jms/src/test/java/com/baeldung/spring/jms/testing/TestContainersActiveMqLiveTest.java diff --git a/pom.xml b/pom.xml index 60f8512052..adbccc6612 100644 --- a/pom.xml +++ b/pom.xml @@ -415,7 +415,6 @@ jaxb jersey jgit - jgroups jhipster-5 jib jmeter @@ -457,6 +456,7 @@ maven-modules mesos-marathon + messaging-modules metrics microservices-modules muleesb @@ -477,7 +477,6 @@ quarkus-modules - rabbitmq reactor-core rsocket rule-engines-modules @@ -532,7 +531,7 @@ parent-spring-5 parent-java - saas + saas-modules server-modules spf4j @@ -545,10 +544,8 @@ spring-5-webflux-2 spring-activiti - spring-amqp spring-aop spring-aop-2 - spring-apache-camel spring-batch spring-batch-2 @@ -582,7 +579,6 @@ spring-jenkins-pipeline spring-jersey - spring-jms spring-kafka spring-katharsis @@ -612,14 +608,10 @@ spring-websockets static-analysis - stripe tensorflow-java testing-modules - twilio - twitter4j - vertx-modules video-tutorials @@ -807,7 +799,6 @@ jaxb jersey jgit - jgroups jhipster-5 jib jmeter @@ -848,6 +839,7 @@ maven-modules mesos-marathon + messaging-modules metrics microservices-modules muleesb @@ -867,7 +859,6 @@ quarkus-modules - rabbitmq reactor-core rsocket rule-engines-modules @@ -914,7 +905,7 @@ parent-spring-5 parent-java - saas + saas-modules server-modules spf4j @@ -928,10 +919,8 @@ spring-activiti - spring-amqp spring-aop spring-aop-2 - spring-apache-camel spring-batch spring-batch-2 @@ -965,7 +954,6 @@ spring-jenkins-pipeline spring-jersey spring-jinq - spring-jms spring-kafka spring-katharsis @@ -995,14 +983,10 @@ spring-websockets static-analysis - stripe tensorflow-java testing-modules - twilio - twitter4j - vertx-modules video-tutorials diff --git a/saas/.gitignore b/saas-modules/jira-rest-integration/.gitignore similarity index 100% rename from saas/.gitignore rename to saas-modules/jira-rest-integration/.gitignore diff --git a/saas/README.md b/saas-modules/jira-rest-integration/README.md similarity index 53% rename from saas/README.md rename to saas-modules/jira-rest-integration/README.md index 4effb2afa9..5ae79ab5ea 100644 --- a/saas/README.md +++ b/saas-modules/jira-rest-integration/README.md @@ -1,6 +1,6 @@ -## SAAS +## Jira Rest Integration -This module contains articles about software as a service (SAAS) +This module contains articles about Jira Rest Integration ## Relevant articles: diff --git a/saas/pom.xml b/saas-modules/jira-rest-integration/pom.xml similarity index 90% rename from saas/pom.xml rename to saas-modules/jira-rest-integration/pom.xml index 87f273939c..9441691d49 100644 --- a/saas/pom.xml +++ b/saas-modules/jira-rest-integration/pom.xml @@ -3,16 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - saas - 0.1.0-SNAPSHOT - saas + jira-rest-integration + jira-rest-integration jar com.baeldung - parent-java - 0.0.1-SNAPSHOT - ../parent-java + saas-modules + 1.0.0-SNAPSHOT @@ -67,4 +65,4 @@ 2.6.1 - \ No newline at end of file + diff --git a/saas/src/main/java/com/baeldung/saas/jira/MyJiraClient.java b/saas-modules/jira-rest-integration/src/main/java/com/baeldung/saas/jira/MyJiraClient.java similarity index 100% rename from saas/src/main/java/com/baeldung/saas/jira/MyJiraClient.java rename to saas-modules/jira-rest-integration/src/main/java/com/baeldung/saas/jira/MyJiraClient.java diff --git a/spring-jms/src/main/resources/logback.xml b/saas-modules/jira-rest-integration/src/main/resources/logback.xml similarity index 100% rename from spring-jms/src/main/resources/logback.xml rename to saas-modules/jira-rest-integration/src/main/resources/logback.xml diff --git a/saas-modules/pom.xml b/saas-modules/pom.xml new file mode 100644 index 0000000000..db319442c3 --- /dev/null +++ b/saas-modules/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + saas-modules + saas-modules + 1.0.0-SNAPSHOT + pom + + + com.baeldung + parent-boot-2 + 0.0.1-SNAPSHOT + ../parent-boot-2 + + + + jira-rest-integration + stripe + twilio + twitter4j + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/stripe/.gitignore b/saas-modules/stripe/.gitignore similarity index 100% rename from stripe/.gitignore rename to saas-modules/stripe/.gitignore diff --git a/stripe/README.md b/saas-modules/stripe/README.md similarity index 100% rename from stripe/README.md rename to saas-modules/stripe/README.md diff --git a/stripe/pom.xml b/saas-modules/stripe/pom.xml similarity index 87% rename from stripe/pom.xml rename to saas-modules/stripe/pom.xml index cfd281b4a8..468c62ac85 100644 --- a/stripe/pom.xml +++ b/saas-modules/stripe/pom.xml @@ -5,16 +5,14 @@ 4.0.0 com.baeldung.stripe stripe - 0.0.1-SNAPSHOT stripe jar Demo project for Stripe API com.baeldung - parent-boot-2 - 0.0.1-SNAPSHOT - ../parent-boot-2 + saas-modules + 1.0.0-SNAPSHOT @@ -41,4 +39,4 @@ 4.2.0 - \ No newline at end of file + diff --git a/stripe/src/main/java/com/baeldung/stripe/ChargeController.java b/saas-modules/stripe/src/main/java/com/baeldung/stripe/ChargeController.java similarity index 100% rename from stripe/src/main/java/com/baeldung/stripe/ChargeController.java rename to saas-modules/stripe/src/main/java/com/baeldung/stripe/ChargeController.java diff --git a/stripe/src/main/java/com/baeldung/stripe/ChargeRequest.java b/saas-modules/stripe/src/main/java/com/baeldung/stripe/ChargeRequest.java similarity index 100% rename from stripe/src/main/java/com/baeldung/stripe/ChargeRequest.java rename to saas-modules/stripe/src/main/java/com/baeldung/stripe/ChargeRequest.java diff --git a/stripe/src/main/java/com/baeldung/stripe/CheckoutController.java b/saas-modules/stripe/src/main/java/com/baeldung/stripe/CheckoutController.java similarity index 100% rename from stripe/src/main/java/com/baeldung/stripe/CheckoutController.java rename to saas-modules/stripe/src/main/java/com/baeldung/stripe/CheckoutController.java diff --git a/stripe/src/main/java/com/baeldung/stripe/StripeApplication.java b/saas-modules/stripe/src/main/java/com/baeldung/stripe/StripeApplication.java similarity index 100% rename from stripe/src/main/java/com/baeldung/stripe/StripeApplication.java rename to saas-modules/stripe/src/main/java/com/baeldung/stripe/StripeApplication.java diff --git a/stripe/src/main/java/com/baeldung/stripe/StripeService.java b/saas-modules/stripe/src/main/java/com/baeldung/stripe/StripeService.java similarity index 100% rename from stripe/src/main/java/com/baeldung/stripe/StripeService.java rename to saas-modules/stripe/src/main/java/com/baeldung/stripe/StripeService.java diff --git a/stripe/src/main/resources/application.properties b/saas-modules/stripe/src/main/resources/application.properties similarity index 100% rename from stripe/src/main/resources/application.properties rename to saas-modules/stripe/src/main/resources/application.properties diff --git a/stripe/src/main/resources/logback.xml b/saas-modules/stripe/src/main/resources/logback.xml similarity index 100% rename from stripe/src/main/resources/logback.xml rename to saas-modules/stripe/src/main/resources/logback.xml diff --git a/stripe/src/main/resources/static/index.html b/saas-modules/stripe/src/main/resources/static/index.html similarity index 100% rename from stripe/src/main/resources/static/index.html rename to saas-modules/stripe/src/main/resources/static/index.html diff --git a/stripe/src/main/resources/templates/checkout.html b/saas-modules/stripe/src/main/resources/templates/checkout.html similarity index 100% rename from stripe/src/main/resources/templates/checkout.html rename to saas-modules/stripe/src/main/resources/templates/checkout.html diff --git a/stripe/src/main/resources/templates/result.html b/saas-modules/stripe/src/main/resources/templates/result.html similarity index 100% rename from stripe/src/main/resources/templates/result.html rename to saas-modules/stripe/src/main/resources/templates/result.html diff --git a/twilio/README.md b/saas-modules/twilio/README.md similarity index 100% rename from twilio/README.md rename to saas-modules/twilio/README.md diff --git a/twilio/pom.xml b/saas-modules/twilio/pom.xml similarity index 89% rename from twilio/pom.xml rename to saas-modules/twilio/pom.xml index 327242749b..8e3271f482 100644 --- a/twilio/pom.xml +++ b/saas-modules/twilio/pom.xml @@ -4,12 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 twilio - 1.0-SNAPSHOT twilio com.baeldung - parent-modules + saas-modules 1.0.0-SNAPSHOT @@ -25,4 +24,4 @@ 7.20.0 - \ No newline at end of file + diff --git a/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsExample.java b/saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsExample.java similarity index 100% rename from twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsExample.java rename to saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsExample.java diff --git a/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsMediaExample.java b/saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsMediaExample.java similarity index 100% rename from twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsMediaExample.java rename to saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsMediaExample.java diff --git a/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusAsyncExample.java b/saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusAsyncExample.java similarity index 100% rename from twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusAsyncExample.java rename to saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusAsyncExample.java diff --git a/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusExample.java b/saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusExample.java similarity index 100% rename from twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusExample.java rename to saas-modules/twilio/src/main/java/com/baeldung/twilio/sms/TwilioSmsStatusExample.java diff --git a/twilio/src/main/resources/logback.xml b/saas-modules/twilio/src/main/resources/logback.xml similarity index 100% rename from twilio/src/main/resources/logback.xml rename to saas-modules/twilio/src/main/resources/logback.xml diff --git a/twitter4j/README.md b/saas-modules/twitter4j/README.md similarity index 100% rename from twitter4j/README.md rename to saas-modules/twitter4j/README.md diff --git a/twitter4j/pom.xml b/saas-modules/twitter4j/pom.xml similarity index 93% rename from twitter4j/pom.xml rename to saas-modules/twitter4j/pom.xml index 3e9bcd550a..2acee4583f 100644 --- a/twitter4j/pom.xml +++ b/saas-modules/twitter4j/pom.xml @@ -9,7 +9,7 @@ com.baeldung - parent-modules + saas-modules 1.0.0-SNAPSHOT @@ -25,4 +25,4 @@ 4.0.6 - \ No newline at end of file + diff --git a/twitter4j/src/main/java/com/baeldung/Application.java b/saas-modules/twitter4j/src/main/java/com/baeldung/Application.java similarity index 100% rename from twitter4j/src/main/java/com/baeldung/Application.java rename to saas-modules/twitter4j/src/main/java/com/baeldung/Application.java diff --git a/twitter4j/src/main/resources/logback.xml b/saas-modules/twitter4j/src/main/resources/logback.xml similarity index 100% rename from twitter4j/src/main/resources/logback.xml rename to saas-modules/twitter4j/src/main/resources/logback.xml diff --git a/twitter4j/src/main/resources/twitter4j.properties b/saas-modules/twitter4j/src/main/resources/twitter4j.properties similarity index 100% rename from twitter4j/src/main/resources/twitter4j.properties rename to saas-modules/twitter4j/src/main/resources/twitter4j.properties diff --git a/twitter4j/src/test/java/com/baeldung/ApplicationManualTest.java b/saas-modules/twitter4j/src/test/java/com/baeldung/ApplicationManualTest.java similarity index 100% rename from twitter4j/src/test/java/com/baeldung/ApplicationManualTest.java rename to saas-modules/twitter4j/src/test/java/com/baeldung/ApplicationManualTest.java