Has anyone seen some sort of message queue archite...
# suitescript
c
Has anyone seen some sort of message queue architecture/implementation used for generic integration patterns - in NS?
s
sure - Boomi and Mulesoft are two packaged solutions for that sort of thing. Have also seen message queuing (e.g. AWS) used to integrate to restlets, in fact i'm working on the restlet side of such a project now. Also worked with NS based solutions that use a custom record as poor-man's queue
another standard practice is to do audit logging to a custom record to go beyond any request logging NS does natively.
m
We use RabbitMQ here as message queue with a "bridge" that posts to a restlet
Also great example of a message queue in NetSuite here from @Brendan Boyd https://medium.com/tolaeon/a-message-queue-in-netsuite-60b080042624
👍 1
c
@michoel That medium article is super interesting
I'm looking at pushing high volume JSON messages through Amazon EventBridge and getting rid of Celigo for a couple of clients
was looking for a nice pattern in SuiteScript to handle lots of data coming in that transforms to various record types. I'm refactoring a few people away from giant SS1 monolithic scripts.
b
general warning, Celigo used to have a message queue in netsuite
it was moved out
c
Warning against trying a message queue in NS or a warning against Celigo?
b
my guess is that the queue was too unreliable
be weary of tossing too much data into suitescript's queues
c
The real queue will be in AWS - NS isn't built for that at all.
But having something a bit better than mono scripts which dont adhere to DRY is something I'm looking into for this project
b
That really is just a poor mans queue. I would recommend using an external topic or queue.
c
@Brendan Boyd We're looking at Amazon EventBridge for that
just want to pass through the messages to NS and let saved searches build up a list of custom records to be processed rather than let Celigo play with the transaction records directly.
b
To your original question, I think there are a lot of well documented messaging and integration patterns that fit right in with the SOAP API. I tend reference those when I'm looking for solutions. https://en.m.wikipedia.org/wiki/Enterprise_Integration_Patterns
💯 1
c
Thanks
s
that is the bible for message oriented integration - has been for like 15+ years?
b
😊👍