0

We are looking for moving our solutions to start using AWS Simple Queue Service instead of Rabbit MQ.

Now we are using JMS to connect to our queues using a .bindings file to configure the jndi context to connect.

Is it possible to use a .bindings file to configure the connection to AWS Simple Queue Service configuring the region, using a profile as parameters, all configured inside the .bindings file?

If yes do you have any example on how to do that?

raddesso
  • 169
  • 7
  • 14

1 Answers1

0

The reason the RabbitMQ JMS client uses .bindings is because it relies on com.sun.jndi.fscontext.RefFSContextFactory as the InitialContextFactory implementation.

From what I can tell the Amazon SQS JMS client has no support for JNDI at all. There are no references or examples in the documentation that use JNDI. They all use programmatic creation.

Justin Bertram
  • 29,372
  • 4
  • 21
  • 43