{project.groupId}:functional-template

This is rabbitTemplate wrapper to set callBack-method easily when you publish messages.

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы
Группа

Группа

jp.spring-boot-reference
Идентификатор

Идентификатор

functional-template
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

{project.groupId}:functional-template
This is rabbitTemplate wrapper to set callBack-method easily when you publish messages.
Ссылка на сайт

Ссылка на сайт

https://github.com/wadakc/functional-template
Система контроля версий

Система контроля версий

https://github.com/kcwebapply/functional-template

Скачать functional-template

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/jp.spring-boot-reference/functional-template/ -->
<dependency>
    <groupId>jp.spring-boot-reference</groupId>
    <artifactId>functional-template</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/jp.spring-boot-reference/functional-template/
implementation 'jp.spring-boot-reference:functional-template:1.1'
// https://jarcasting.com/artifacts/jp.spring-boot-reference/functional-template/
implementation ("jp.spring-boot-reference:functional-template:1.1")
'jp.spring-boot-reference:functional-template:jar:1.1'
<dependency org="jp.spring-boot-reference" name="functional-template" rev="1.1">
  <artifact name="functional-template" type="jar" />
</dependency>
@Grapes(
@Grab(group='jp.spring-boot-reference', module='functional-template', version='1.1')
)
libraryDependencies += "jp.spring-boot-reference" % "functional-template" % "1.1"
[jp.spring-boot-reference/functional-template "1.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-amqp jar 2.1.0.RELEASE

test (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 2.1.0.RELEASE

Модули Проекта

Данный проект не имеет модулей.

functional-template

apache licensed Java Maven Central

https://search.maven.org/artifact/jp.spring-boot-reference/functional-template/1.1/jar https://oss.sonatype.org/content/repositories/releases/jp/spring-boot-reference/functional-template/

functiona-template is rabbitTemplate Wrapper that make it easy to set callBack-function on message Recognition.

Usage

You can use functionaTemplate as you use RabbitTemplate . Set callbackMethod.

FunctionalTemplate functionalTemplate = new FunctionalTemplate();
// set property as you do on rabbitTemplate
functionalTemplate.setMessageConverter(jackson2JsonMessageConverter()); 
 // set callback method on message-ack. 
functionalTemplate.setACKMethod(human,human.getClass().getMethod("getName"));
// publish message 
functionalTemplate.convertAndSend("messageQueue",human); // publish. 

Dependency

Maven

<dependency>
	<groupId>jp.spring-boot-reference</groupId>
	<artifactId>functional-template</artifactId>
	<version>1.1</version>
</dependency>

Gradle

compile 'jp.spring-boot-reference:functional-template:1.1'

Версии библиотеки

Версия
1.1