Great job as always Josh! I just today highlighted this video to one of my colleagues as an example of an excellent developer-oriented video.
@JimzZel3 жыл бұрын
Thank you for this video, I learned something today.
@Prim123985 жыл бұрын
"Using my second favorite place.. start.....stackoverflow..." 0:55, haha , we know what You are made of :> (Good tutorial)
@khalildureidy5 жыл бұрын
is it supposed to create the db tables automatically for the lock? or you created them manually?
@aniyt103 жыл бұрын
Good point. I had to create this table CREATE TABLE INT_LOCK ( LOCK_KEY CHAR(36) NOT NULL, REGION VARCHAR(100) NOT NULL, CLIENT_ID CHAR(36), CREATED_DATE TIMESTAMP NOT NULL, constraint INT_LOCK_PK primary key (LOCK_KEY, REGION) );
@vijo3510Ай бұрын
Will this work for mysql .i tried but registry coming null
@hannesvideo5 жыл бұрын
Ok, not much spring-integration here, I thought. But it is the LockRegistry that is used!
@rajpraveenbhiwani91763 жыл бұрын
With differenct JVMs will that solution work. And if not how can we handle?
@shubhamna11924 жыл бұрын
getting initialization error for the final field ,private final LockRegistry registry;
@valix855 жыл бұрын
Please in future increase font zoom in IDE and browser... Good video
@smithdragon64772 жыл бұрын
Good demo .but no transaction controls ...
@vishalsundararajan12285 жыл бұрын
I want a queuing approach instead of locking it, i want all the request to be processed but only one at a time
@WasifTanveer3 жыл бұрын
You can use some broker i.e. publisher consumer mechanism to achieve your requirement
@arvindgurav99113 жыл бұрын
Can you share github repo link.
@andreslascano5 жыл бұрын
How can I do this with mongodb?
@srvmojo91905 жыл бұрын
Theres good support for the same in spring data , using @Version annontation & optimistic locking or pessimistic locking even for clustered environment .
@waqasrana78912 жыл бұрын
@@srvmojo9190 that will throw exception so you have to retry again
@hongxing72592 жыл бұрын
do NOT use verb in api uri, like "update", and do use correct http method PUT for update
@himanshurawal72233 жыл бұрын
Please increase the font
@janbodnar78155 жыл бұрын
Arrgh, dark theme please.
@zapl805 жыл бұрын
No, please stay with the light theme. Stupid pseudo pro dark look doesn't make your code better nor is it easier to read.
@janbodnar78155 жыл бұрын
@@zapl80 How old are you? Because the older you are, the more you appreciate the dark theme; it is easier on the eyes.