/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.fdxconsultation.service.impl.camel.consumer;
|
|
import com.megatim.fdxcommons.model.log.UserActionLog;
|
import com.megatim.fdxconsultation.core.ifaces.log.UserActionLogManager;
|
import javax.inject.Inject;
|
import org.apache.camel.Handler;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
public class UserActionLogConsumer {
|
|
@Inject
|
private UserActionLogManager logManager;
|
|
@Handler
|
public void process(UserActionLog log) throws Exception {
|
logManager.save(log);
|
}
|
}
|