Closed micmicsuarez closed 8 years ago
How did you get this? Did you invoke any operations?
@adamw , sorry for late response.
I have a method
inside the JmsListener
that process hundred thousands
of data. This method downloads the csv file and save each row in a list. After parsing it, we iterate in the list and create an object. It looks like this:
List sampleObjectList = []
List numbers = [1, 2, 3, 4, 5, 6, 7, ...']
numbers.each { number ->
sampleObjectList << new SampleObject(number: number)
}
batchValidateAndSave(sampleObjectList)
We save a batch of objects.
I just send a message to the other JmsListener
by using the send method of jmsService.
jmsService.send(queue: CustomQueue.MyQueue, [userId: user.id])
So this works now?
This is the stacktrace:
Is there a way to fix this issue? I'm using elasticmq version
0.8.12
. Thanks