GithubHelp home page GithubHelp logo

dac-jms's Introduction

Atividade

Order - Lucas e Alexa Formato: String (JSON) - idDoPedido - status (APROVADO, REPROVADO) Email - Flavio, Laerton e Matheus Formato: String (JSON) - destinatario - titulo - corpo
CardCredit - José e Julierme Formato: String (JSON) - numeroDoCartao - nomeDoCliente - valor - codigoParaValidacao - dataDeValidade

Destination Formato: Topic - jms/pedido // Novos pedidos
- typeMessage (email ou cardcredit) - jms/aprovado // Pedidos aprovados/reprovados

create-domain dac-exemplo start-domain dac-exemplo create-jms-resource --restype javax.jms.ConnectionFactory jms/aulaConnectionFactory create-jms-resource --restype javax.jms.Queue jms/demoQueue

list-jms-resources list-jndi-entries --context jms

asadmin create-jms-resource --enabled=true --property=Name=notifierQueue --restype=javax.jms.queue jms/notifierQueue asadmin notification-jms-configure --dynamic=true --enabled=true --contextFactoryClass=com.sun.enterprise.naming.SerialInitContextFactory --target=server-config --queueName=notifierQueue --url=localhost:7676 --connectionFactoryName=jms/_defaultConnectionFactory get-jms-notifier-configuration

@MessageDriven( mappedName = "java:global/jms/topic/aula", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "topic"), @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "email='job'") } )

@MessageDriven( activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue"), @ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "jms/demoQueue") // @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "email='job'") } // , mappedName = "jms/demoQueue" )

@JMSDestinationDefinition( name = "java:global/jms/topic/aula", resourceAdapter = "jmsra", interfaceName = "javax.jms.Topic", destinationName = "topic", description = "Topic em aula" )

dac-jms's People

Contributors

lucasduete avatar flaviohenriique avatar laerton2016 avatar ricardojob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.