spring integration sqs outbound gateway - amazon-sqs

I tried using https://github.com/3pillarlabs/spring-integration-aws project for SQS outbound gateway but I ended up in an error:
Cannot resolve the name 'int-aws:permissionsType' to a(n) 'type definition' component.
I am aware that the official spring integration supports SQS outbound adapter. I am looking for a gateway where I can proceed performing more operations after publishing the message to SQS. Are any of you aware of anything along these lines?
Thanks in Advance!

Related

How to Use Groovy code as an AWS SQS Listener

I have been Googling trying to find Groovy code to act as a long running process as an AWS SQS Listener to receive messages from a SQS Queue. I see Spring Boot & Grails but I cannot seem to find any Groovy code.
Trying to reduce dependencies. I have used Java code in Groovy many years back-might fall back to that if nothing else is available.
TIA
I was able to use Spring Boot with embedded Tomcat as an SQS Listener using this example - https://www.netsurfingzone.com/aws/spring-boot-aws-sqs-listener-example/

Simple example of Masstransit using one Queue with amazon SQS

I am facing a problem with masstransit. I want to use SQS and one queue only. I want masstransit to always send the messages to that queue and receive them on a specific endpoint. (So not publishing).
The sending to the queue works but for some reason I'm having problems receiving messages. The documentation examples do not work for me when connecting a consumer to an endpoint.. It complains about SNS (which I am not using)
Does anyone have a simple example?
Ok, so I found out that if you want to send messages to a queue, than SQS should be sufficient in combination with Masstransit. But when you want to recieve those messages, then Masstransit expects credentials that allow the creation of SNS topics.
I thought I had more say in what queues Masstransit will use for communication. But when you use Masstransit with amazon it will create it's own queues and SNS topics based on it's needs.
So when using Masstransit, like i did in my case. Give it AWS IAM user credentials that have the proper permissions to create SQS queues and SNS topics.

Google Cloud Dataflow streaming pipeline with PubSubIO resource setup failed

I already read this question, but it didn't solve my problem.
I read from a PubSub topic in my Dataflow topology, but I am always getting the error of "resource setup failure":
Even if I have already enabled all of the Google Cloud APIs for the project.
Do you have any ideas? Could it be some issue with credentials?
Where can I get a more meaningful error message?
I needed to create the topics by hand.
Dataflow automatically creates the subscriptions, not topics.

How to intercept sent / consumed RabbitMQ messages

I am developing RabbitMQ token auth plugin, where the token needs to be included in AMQP header so it can be validated upon every sent / consumed message.
I am wondering how can I achieve it? So far I am only familiar with RabbitMQ auth plugins and do not know much about other plugin mechanisms. After quick research I have found rabbit_channel_interceptor behavior which sounds like it could do the job.
I have read rabbitmq's source code about auth. In the source code tree, please pay attention to the files named as "rabbit_auth_machanism.erl", "rabbit_auth_backend", "rabbit_auth_backend_internal". In addition, there is another plugin named "xxx ldap".
After reading carefully and know how to integrate and build the rabbitmq project groups, you can start programming.

Can Fuse ESB implement message broker and message queue

I'm a really newbie in ESB (you can say no experience).
And actually I haven't really understood the real meaning of ESB.
My expectation of ESB is a middleware that can connect to whatever the client is
(.NET, Flex, Ajax, Android, etc.).
And I expect that ESB can implement MESSAGE QUEUE.
Cause I'm really really interested in message queue.
I just tried Mule ESB.
I successfully created SOA request-response.
But it seems that Mule ESB doesn't have message queue.
AND MY QUESTION IS:
Is it possible for Fuse ESB to implement message queue?
Thank you,
Rizki Sunaryo
Yes Fuse ESB has a message broker embedded (its Apache ActiveMQ). So you have that out of the box with Fuse ESB.
You can also with Fuse ESB connect to an external message broker of choice, using JMS as the protocol. For example to connect to a WebSphereMQ, WebLogicAQ, etc.
There is also a standalone Fuse MQ product that is just the message broker. So if you only want a messaging system, then you can go for Fuse MQ.
You can find some details here
http://fusesource.com/products/fuse-esb-enterprise/
http://fusesource.com/products/fuse-mq-enterprise/
Red Hat has since acquired FuseSource so the Fuse products is being rebranded as JBoss Fuse, and JBoss A-MQ. You can find details here:
http://www.redhat.com/products/jbossenterprisemiddleware/fuse
http://www.redhat.com/products/jbossenterprisemiddleware/amq/

Resources