This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>io.helidon.microprofile.messaging</groupId> | |
| <artifactId>helidon-microprofile-messaging</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.helidon.messaging.aq</groupId> | |
| <artifactId>helidon-messaging-aq</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.helidon.integrations.cdi</groupId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javax: | |
| sql: | |
| DataSource: | |
| local-example-ds: | |
| connectionFactoryClassName: oracle.jdbc.pool.OracleDataSource | |
| URL: jdbc:oracle:thin:@localhost:1521:XE | |
| user: frank | |
| password: frank | |
| mp: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Setup connector | |
| JmsConnector seConn = JmsConnector.create(); | |
| // Prepare channels | |
| Channel<String> toJms = Channel.create("to-jms"); | |
| Channel<String> fromJms = Channel.create("from-jms"); | |
| // Prepare emitter for interaction with non-reactive code | |
| Emitter<String> emitter = Emitter.create(toJms); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>io.helidon.messaging.jms</groupId> | |
| <artifactId>helidon-messaging-jms</artifactId> | |
| </dependency> | |
| <!-- JMS client implenting JMS api of your choice--> | |
| <dependency> | |
| <groupId>org.apache.activemq</groupId> | |
| <artifactId>activemq-client</artifactId> | |
| </dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Setup connector | |
| JmsConnector seConn = JmsConnector.create(); | |
| // Prepare channels | |
| Channel<String> toJms = Channel.<String>builder() | |
| .name("to-jms") | |
| .subscriberConfig(JmsConnector.configBuilder() | |
| .queue("example_queue_1") | |
| .jndiInitialFactory(ActiveMQInitialContextFactory.class) | |
| .jndiProviderUrl("tcp://192.168.0.123:61616") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Manually define JMS connection factory | |
| ActiveMQConnectionFactory connectionFactory = | |
| new ActiveMQConnectionFactory("tcp://192.168.0.123:61616"); | |
| // Setup connector | |
| JmsConnector seConn = JmsConnector.builder() | |
| .connectionFactory("jms-con-1", connectionFactory) | |
| .build(); | |
| // Prepare channels |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PoolDataSource pds = PoolDataSourceFactory.getPoolDataSource(); | |
| pds.setConnectionFactoryClassName("oracle.jdbc.pool.OracleDataSource"); | |
| pds.setURL("jdbc:oracle:thin:@localhost:1521:XE"); | |
| pds.setUser("frank"); | |
| pds.setPassword("frank"); | |
| AqConnector seConn = AqConnector.builder() | |
| .dataSource("test-ds", pds) | |
| .build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>io.helidon.microprofile.messaging</groupId> | |
| <artifactId>helidon-microprofile-messaging</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.helidon.messaging.jms</groupId> | |
| <artifactId>helidon-messaging-jms</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>custom.com.oracle</groupId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install wlthint3client.jar to local msv repo | |
| mvn install:install-file \ | |
| -Dfile=./wlthint3client.jar \ | |
| -DgeneratePom=true \ | |
| -DgroupId=custom.com.oracle \ | |
| -DartifactId=wlthint3client \ | |
| -Dversion=12.2.1.3 \ | |
| -Dpackaging=jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mp: | |
| messaging: | |
| connector: | |
| helidon-jms: | |
| jndi: | |
| jms-factory: jms/TestConnectionFactory | |
| env-properties: | |
| java.naming.factory.initial: weblogic.jndi.WLInitialContextFactory | |
| java.naming.provider.url: t3://localhost:7001 | |
| incoming: |