gpe-mw-training / messaging-labs

1 stars 4 forks source link

Improve Security example #8

Closed cmoulliard closed 9 years ago

cmoulliard commented 9 years ago

Improve Security example to be able to use it, to produce the messages in a queue using system (admin) user and consuming them with the guest user.

cmoulliard commented 9 years ago

See this connection to be used for the producer

https://github.com/gpe-mw-training/messaging-labs/blob/master/5_Managing_Monitoring/security/src/main/java/com/redhat/gpe/training/messaging/security/SimpleProducer.java#L47-47

and this for the consumer

https://github.com/gpe-mw-training/messaging-labs/blob/master/5_Managing_Monitoring/security/src/main/java/com/redhat/gpe/training/messaging/security/SimpleConsumer.java#L35