Skip to content

Commit

Permalink
Merge pull request #162 from Thadoy/dvalin_jms
Browse files Browse the repository at this point in the history
Dvalin jms
  • Loading branch information
YukiInu authored Jul 17, 2024
2 parents dde2e5d + 11b081c commit c8e90fe
Show file tree
Hide file tree
Showing 144 changed files with 5,855 additions and 477 deletions.
11 changes: 10 additions & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 19 additions & 3 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion interconnect/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## interconnect
Interconnect enables service communication with objects implementing the interface `InterconnectObject`.

*coming*
interconnect needs `dvalin-jms` for service communication.

* The `@Daemon` annotation is used with interfaces that extend `IDaemon` to provide information that clients can interact with that daemon.
* `@Interconnect`

### interconnect-core-legacy
The projects `interconnect-core-legacy` provide legacy implementation. Relys on `interconnect-core-legacy-exceptions` and `dvalin-jms`
116 changes: 116 additions & 0 deletions interconnect/core-legacy/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.taimos</groupId>
<artifactId>dvalin-interconnect-parent</artifactId>
<version>1.36-SNAPSHOT</version>
</parent>
<artifactId>dvalin-interconnect-core-legacy</artifactId>
<name>(Legacy) Dvalin interconnect core library</name>
<properties>
</properties>
<dependencies>
<dependency>
<groupId>de.taimos</groupId>
<artifactId>dvalin-daemon</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.taimos</groupId>
<artifactId>dvalin-interconnect-model</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-pool</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-client</artifactId>
<version>${activemq.version}</version>
</dependency>

<!-- Spring Framework -->
<!-- Core utilities used by other modules. Define this if you use Spring
Utility APIs (org.springframework.core.*/org.springframework.util.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Expression Language (depends on spring-core) Define this if you use
Spring Expression APIs (org.springframework.expression.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- JMS utilities -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Bean Factory and JavaBeans utilities (depends on spring-core) Define
this if you use Spring Bean APIs (org.springframework.beans.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Aspect Oriented Programming (AOP) Framework (depends on spring-core,
spring-beans) Define this if you use Spring AOP APIs (org.springframework.aop.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Application Context (depends on spring-core, spring-expression, spring-aop,
spring-beans) This is the central artifact for Spring's Dependency Injection
Container and is generally always defined -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Various Application Context utilities, including EhCache, JavaMail,
Quartz, and Freemarker integration Define this if you need any of these integrations -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Transaction Management Abstraction (depends on spring-core, spring-beans,
spring-aop, spring-context) Define this if you use Spring Transactions or
DAO Exception Hierarchy (org.springframework.transaction.*/org.springframework.dao.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${org.springframework.version}</version>
</dependency>

<!-- Support for testing Spring applications with tools such as JUnit and
TestNG This artifact is generally always defined with a 'test' scope for
the integration testing framework and unit testing stubs -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${org.springframework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>javax.jms-api</artifactId>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class InterconnectConnectorBurstTest implements Runnable {
* @throws Exception If ...
*/
public static void main(String[] args) throws Exception {
de.taimos.dvalin.interconnect.core.TestHelper.initBrokerEnv("failover:tcp://localhost:61616");
TestHelper.initBrokerEnv("failover:tcp://localhost:61616");
try {
System.out.println("begin");
for (int i = 0; i < InterconnectConnectorBurstTest.THREADS; i++) {
Expand All @@ -54,7 +54,7 @@ public static void main(String[] args) throws Exception {
System.out.println("end");
System.out.println("duration: " + ((end - begin) / 1000L / 1000L) + " ms");
} finally {
de.taimos.dvalin.interconnect.core.TestHelper.closeBrokerEnv();
TestHelper.closeBrokerEnv();
}
}

Expand Down
Loading

0 comments on commit c8e90fe

Please sign in to comment.