This file contains 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
public class Producer { | |
private final static String QUEUE_NAME = "Greet"; | |
public static void main(String[] argumentVariables) | |
throws java.io.IOException { | |
//opens a new connection with the broker | |
ConnectionFactory factory = new ConnectionFactory(); | |
factory.setHost("localhost"); | |
factory.setUsername("guest"); | |
factory.setPassword("guest"); |
This file contains 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
public class Consumer { | |
private final static String QUEUE_NAME = "Greet"; | |
public static void main(String[] argv) | |
throws java.io.IOException, | |
java.lang.InterruptedException { | |
ConnectionFactory factory = new ConnectionFactory(); | |
factory.setHost("localhost"); | |
factory.setUsername("guest"); |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am akkinenivijay on github. | |
* I am vijayakkineni (https://keybase.io/vijayakkineni) on keybase. | |
* I have a public key ASBAzfm_Y6lBSLdb1-fNapES86pApCAOCEQCilZZwJ4uQgo | |
To claim this, I am signing this object: |
This file contains 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
FROM oraclelinux:9 | |
# Env variables | |
ARG GRAALVM_VERSION=22.3.1 | |
ARG GRAALVM_ARCH=linux-aarch64 | |
ARG JAVA_VERSION=java17 | |
ARG GRAALVM_PKG=https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-$GRAALVM_VERSION/graalvm-ce-$JAVA_VERSION-$GRAALVM_ARCH-$GRAALVM_VERSION.tar.gz | |
ARG SCALA_VERSION=3.2.2 | |
ARG SBT_VERSION=1.8.2 | |
ARG USER_ID |