I'm having difficultly in visualing this task. Here is what I'm trying to do.

I have a contest object that is put onto a queue, this object has an image
associated with it. 
The imageProcessor bean is a swing application. Where the user will modify
the object and finally accept/reject the image. After which the contest
object will be saved to the database.

Summary:
 1. get contest object / image from queue
 2. Display image to user via a swing gui 
 3. User accepts/rejects image
 4. save to database 


from("activemq:queue:contest").transacted().to("bean:imageProcessor?method=process")

The imageProcessor bean will display the image to the user via a swing gui
and after a 1-2mins will make a decision on accepting it or not. This action
will be done via a buttonListener. 
If I understand correctly the displaying of the image (process method) would
have send a reply to the queue and the transaction would be complete. 

How can I extend the tranaction in this case to include.
1. accepting/rejecting image
2. saving to database.

Hope thats clear.
Thanks
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Transacted-route-with-swing-client-tp2854276p2854276.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to