Skip to content

gaquino/dropwizard-amqp-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DropWizard AMQP Stock Trader Sample App

Sample app publishes messages to RabbitMQ backend. The app is configured with SSL and Basic Auth.

Setup

Testing

Using CURL

  • POST JSON data and negotiate XML response
    curl -k -X POST -d @src/test/resources/tradeRequest.json --user joe:secret https://localhost:8080/trader -H "Content-Type:application/json" -H "Accept: application/xml"
  • POST XML data and negotiate JSON response
    curl -k -X POST -d @src/test/resources/tradeRequest.xml --user joe:secret https://localhost:8080/trader -H "Content-Type:application/xml" -H "Accept: application/json"

Using Spring AMQP Stock sample client UI
java org.springframework.amqp.rabbit.stocks.ui.StockPanel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published