Comments (7)
Are you setting any non-String attributes on the message? (I suspect that might happen in queueMessagingTemplate.convertAndSend
) Currently only String-typed attributes are supported
from elasticmq.
Hi Adam,
I am passing JSON message and facing the same issue. Is there any plan in near future to provide support for JSON type ?
from elasticmq.
I had the same issue. Spring Cloud uses spring-messaging which automatically adds UUID (string) and timestamp(long) to a message's headers. And those headers will be transformed into SQS message attributes. Timestamp causes this issue. As a workaround you can override doSend method in QueueMessagingTemplate and remove timestamp header from the message.
from elasticmq.
I think adding support for all message attribute types shouldn't be too hard, if somebody would like to attempt a PR :)
from elasticmq.
It wasn't ) I am currently working on it. Just need to write some more tests for SQSStrict mode to check that number attribute's value is inside -10^128 .. 10^126. So expect PR really soon )
from elasticmq.
Awesome! :)
from elasticmq.
Merged & released 0.8.10 - thanks!
from elasticmq.
Related Issues (20)
- Actor System does not shut down when using `SQSRestServerBuilder#stopAndWait` - resulting in main process hanging indefinitely HOT 2
- prebuilt arm builds for softwaremill/elasticmq-native is not working HOT 1
- Stale Documentation for DeadLetterQueue creation HOT 2
- Publishing messages with delay does not work as expected HOT 1
- Could not find UI files error on 1.4.5-RC1 docker image HOT 2
- Fifo delay queue is delivering messages immediately instead of delaying them HOT 2
- Migrate from akka to pekko? HOT 6
- Automatic creation of queue does not work (v1.4.6) HOT 1
- IllegalArgumentException: Couldn't find header X-Amz-Target HOT 6
- x-amz-json-1.0 not properly serializing error responses HOT 5
- AWS JSON Protocol - MessageAttributes key has appeared? HOT 3
- JSON protocol support HOT 1
- DeadLetterQueueSourceArn missing while receiving message from DLQ HOT 1
- Push images to ECR HOT 2
- Trigger Events Based on Messages in Queue HOT 4
- Exception when running routes spray.json.DeserializationException HOT 3
- "MD5 returned by SQS does not match the calculation on the original request" when using AWS JSON protocol and message attributes with custom data types HOT 1
- java.lang.IllegalArgumentException: Couldn't find header X-Amz-Target
- Cannot create Queue with AWS SDK. HOT 6
- 404s after updating AWS SDKs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticmq.