2016年1月14日
摘要:
In this section we’ll look at two useful features of ActiveMQ: subscribing to multiple destinations using wildcards, and publishing to multiple destin...
阅读全文
posted @ 2016-01-14 19:09
huey2672
阅读(651)
推荐(0)
摘要:
If none of any built-in security mechanisms works for you, you can always build your own. Though these features should provide enough functionality fo...
阅读全文
posted @ 2016-01-14 12:35
huey2672
阅读(434)
推荐(0)
2016年1月13日
摘要:
To build upon authentication, consider a use case requiring more fine-grained control over clients to authorize certain tasks. ActiveMQ provides two l...
阅读全文
posted @ 2016-01-13 18:28
huey2672
阅读(352)
推荐(0)
摘要:
JAAS provides pluggable authentication, which means ActiveMQ will use the same authentication API regardless of the technique used to verify user cred
阅读全文
posted @ 2016-01-13 18:09
huey2672
阅读(665)
推荐(0)
摘要:
The easiest way to secure the broker is through the use of authentication credentials placed directly in the broker’s XML configuration file. Such fun
阅读全文
posted @ 2016-01-13 11:50
huey2672
阅读(392)
推荐(0)
2016年1月12日
摘要:
JAAS 参考文档:JAAS Reference GuideJAAS Authentication TutorialJAAS Authorization TutorialLoginModule Developer's GuideJAAS Login Configuration File
阅读全文
posted @ 2016-01-12 19:32
huey2672
阅读(196)
推荐(0)
2016年1月10日
摘要:
The JMSExceptionJMS defines JMSException as the root class for exceptions thrown by JMS methods. JMSException is a checked exception and catching it p...
阅读全文
posted @ 2016-01-10 23:31
huey2672
阅读(524)
推荐(0)
摘要:
Although sessions are used to create temporary destinations, this is only for convenience. Their scope is actually the entire connection. Their lifeti...
阅读全文
posted @ 2016-01-10 20:00
huey2672
阅读(268)
推荐(0)
摘要:
方法一通过 ActiveMQ Web 控制台删除。方法二通过 Java 代码删除。ActiveMQConnection.destroyDestination(ActiveMQDestination destination)方法三通过配置 conf/activemq.xml,当broker 探测到闲置...
阅读全文
posted @ 2016-01-10 11:07
huey2672
阅读(4745)
推荐(0)
摘要:
JMS 事务遵从发送操作与接收操作相互分离的约定。下图显示的是一个事务性发送,其中一组消息要么能够保证全部到达消息服务器,要么连一条消息也不能保证到达消息服务器。从发送者的角度来看,JMS 提供者为这组消息提供了高速缓存,直到执行 commit() 为止。如果发生了故障,或者执行了 rollback...
阅读全文
posted @ 2016-01-10 00:12
huey2672
阅读(2258)
推荐(0)