Erlang - Download and Install for Linux
摘要:1. 下载 Erlang [huey@huey-K42JE erlang]
wget http://www.erlang.org/download/otp_src_R16B03.tar.gz 2. 解压并安装 [huey@huey-K42JE erlang] tar -zxvf otp_src_
阅读全文
posted @
2016-01-30 10:40
huey2672
阅读(619)
推荐(0) 编辑
ActiveMQ(5.10.0) - Message Redelivery and DLQ Handling
摘要:When messages expire on the ActiveMQ broker (they exceed their time-to-live, if set) or can’t be redelivered, they’re moved to a dead-letter queue, so...
阅读全文
posted @
2016-01-19 19:18
huey2672
阅读(1671)
推荐(0) 编辑
ActiveMQ(5.10.0) - Connection Configuration URI
摘要:An Apache ActiveMQ connection can be configured by explicitly setting properties on the ActiveMQConnection or ActiveMQConnectionFactory objects themse...
阅读全文
posted @
2016-01-19 14:58
huey2672
阅读(493)
推荐(0) 编辑
ActiveMQ(5.10.0) - Spring Support
摘要:MavenDependency: org.apache.activemq activemq-all ${activemq.version} org.apache.activemq activemq-jaas...
阅读全文
posted @
2016-01-15 11:39
huey2672
阅读(389)
推荐(0) 编辑
ActiveMQ(5.10.0) - Wildcards and composite destinations
摘要: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
阅读(641)
推荐(0) 编辑
ActiveMQ(5.10.0) - Building a custom security plug-in
摘要: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
阅读(423)
推荐(0) 编辑
ActiveMQ(5.10.0) - Destination-level authorization
摘要: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
阅读(345)
推荐(0) 编辑
ActiveMQ(5.10.0) - Configuring the JAAS Authentication Plug-in
摘要: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
阅读(654)
推荐(0) 编辑
ActiveMQ(5.10.0) - Configuring the Simple Authentication Plug-in
摘要: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
阅读(375)
推荐(0) 编辑
JAAS - Document
摘要:JAAS 参考文档:JAAS Reference GuideJAAS Authentication TutorialJAAS Authorization TutorialLoginModule Developer's GuideJAAS Login Configuration File
阅读全文
posted @
2016-01-12 19:32
huey2672
阅读(191)
推荐(0) 编辑
JMS - Exceptions
摘要: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
阅读(514)
推荐(0) 编辑
JMS - Temporary Destination
摘要: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
阅读(263)
推荐(0) 编辑
ActiveMQ(5.10.0) - 删除闲置的队列或主题
摘要:方法一通过 ActiveMQ Web 控制台删除。方法二通过 Java 代码删除。ActiveMQConnection.destroyDestination(ActiveMQDestination destination)方法三通过配置 conf/activemq.xml,当broker 探测到闲置...
阅读全文
posted @
2016-01-10 11:07
huey2672
阅读(4696)
推荐(0) 编辑
JMS - 事务性消息
摘要:JMS 事务遵从发送操作与接收操作相互分离的约定。下图显示的是一个事务性发送,其中一组消息要么能够保证全部到达消息服务器,要么连一条消息也不能保证到达消息服务器。从发送者的角度来看,JMS 提供者为这组消息提供了高速缓存,直到执行 commit() 为止。如果发生了故障,或者执行了 rollback...
阅读全文
posted @
2016-01-10 00:12
huey2672
阅读(2235)
推荐(0) 编辑
JMS - ExceptionListener
摘要:If a JMS provider detects a problem with a connection, it will inform the connection’s ExceptionListener, if one has been registered. To retrieve an E...
阅读全文
posted @
2016-01-09 18:59
huey2672
阅读(1068)
推荐(0) 编辑
JMS - ConnectionMetaData
摘要:A Connection provides a ConnectionMetaData object. This object provides the latest version of JMS supported by the provider as well as the provider’s ...
阅读全文
posted @
2016-01-09 17:04
huey2672
阅读(315)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Integration with Spring
摘要:1. maven 依赖: 3.2.3.RELEASE 2.2.1 org.springframework spring-beans ${spring.version} org.springframework ...
阅读全文
posted @
2016-01-07 17:26
huey2672
阅读(300)
推荐(0) 编辑
MySQL - 复制数据表
摘要:假设现在有张数据表 users:CREATE TABLE users ( userid INT(10) UNSIGNED NOT NULL, username VARCHAR(100) UNIQUE, passwd VARCHAR(100) DEFAULT '123456',...
阅读全文
posted @
2016-01-07 13:07
huey2672
阅读(211)
推荐(0) 编辑
Git CMD - tag: Create, list, delete or verify a tag object signed with GPG
摘要:命令格式git tag [-a | -s | -u ] [-f] [-m | -F ] [ | ]git tag -d …git tag [-n[]] -l [--contains ] [--points-at ] [--column[=] | --no-column] [--...
阅读全文
posted @
2016-01-07 13:05
huey2672
阅读(300)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Working with JobStores
摘要:About Job StoresJobStores are responsible for keeping track of all the work data you give to the scheduler: jobs, triggers, calendars, and so forth.Se...
阅读全文
posted @
2016-01-07 12:42
huey2672
阅读(527)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Working with SchedulerListeners
摘要:SchedulerListenersSchedulerListeners are much like TriggerListeners and JobListeners, except they receive notification of events within the Scheduler ...
阅读全文
posted @
2016-01-07 10:56
huey2672
阅读(280)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Working with TriggerListeners and JobListeners
摘要:TriggerListeners and JobListenersListeners are objects that you create to perform actions based on events occurring within the scheduler. As indicated...
阅读全文
posted @
2016-01-07 10:40
huey2672
阅读(352)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Usage of CronTriggers
摘要:Cron is a UNIX tool that has been around for a long time, so its scheduling capabilities are powerful and proven. The CronTrigger class is based on th...
阅读全文
posted @
2016-01-06 21:38
huey2672
阅读(416)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Usage of SimpleTrigger
摘要:SimpleTrigger should meet your scheduling needs if you need to have a job execute exactly once at a specific moment in time, or at a specific moment i...
阅读全文
posted @
2016-01-06 20:34
huey2672
阅读(317)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Usage of Calendars
摘要:Quartz Calendar objects (notjava.util.Calendar objects) can be associated with triggers at the time the trigger is defined and stored in the scheduler...
阅读全文
posted @
2016-01-06 19:37
huey2672
阅读(233)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - Usage of JobDataMap
摘要:The JobDataMap can be used to hold any amount of (serializable) data objects which you wish to have made available to the job instance when it execute...
阅读全文
posted @
2016-01-06 16:29
huey2672
阅读(354)
推荐(0) 编辑
Quartz Scheduler(2.2.1) - hello world
摘要:简单示例1. maven 依赖 org.quartz-scheduler quartz 2.2.1 org.quartz-scheduler quartz-jobs 2.2.1 ...
阅读全文
posted @
2016-01-06 11:50
huey2672
阅读(670)
推荐(0) 编辑