Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. /** En el business donde se invoca al servicio de mail*/
  2. @Inject
  3. ParametrosMiddleware parametros;
  4.  
  5. String destinatarios = parametros.getString(ParametrosMiddleware.DESTINATARIOS_PROCESO_AGENDADO_TARIFA);
  6.  
  7.  
  8.  
  9.  
  10.  
  11. /* Clase ubicada en el mismo paquete que el Servicio Mail*/
  12.  
  13. package py.com.personal.bc.utils;
  14. import py.com.personal.bc.messaging.ParamDataSourceConnector;
  15. import py.com.personal.bc.messaging.ParamMessageHandler;
  16. import py.com.personal.bc.messaging.TopicRegistration;
  17.  
  18. import javax.enterprise.context.ApplicationScoped;
  19.  
  20. import static py.com.personal.bc.messaging.voltdb.utils.ConnectorsTypes.VOLTDB;
  21.  
  22. /**
  23. *
  24. */
  25. @TopicRegistration("TASACION")
  26. @ApplicationScoped
  27. @ParamDataSourceConnector(VOLTDB)
  28. public class ParametrosMiddleware extends ParamMessageHandler {
  29.  
  30. public static String DESTINATARIOS_ACTUALIZACION_PRECIO_TARIFAS = "DESTINATARIOS_ACTUALIZACION_PRECIO_TARIFAS";
  31. public static String DESTINATARIOS_PROCESO_AGENDADO_TARIFA = "DESTINATARIOS_PASO_HIST_TARIFAS";
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement