Core

The core library of components and runtime configuration

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.subnoize
Идентификатор

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

qcat-core
Последняя версия

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

0.0.8
Дата

Дата

Тип

Тип

jar
Описание

Описание

Core
The core library of components and runtime configuration

Скачать qcat-core

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

<!-- https://jarcasting.com/artifacts/net.subnoize/qcat-core/ -->
<dependency>
    <groupId>net.subnoize</groupId>
    <artifactId>qcat-core</artifactId>
    <version>0.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/net.subnoize/qcat-core/
implementation 'net.subnoize:qcat-core:0.0.8'
// https://jarcasting.com/artifacts/net.subnoize/qcat-core/
implementation ("net.subnoize:qcat-core:0.0.8")
'net.subnoize:qcat-core:jar:0.0.8'
<dependency org="net.subnoize" name="qcat-core" rev="0.0.8">
  <artifact name="qcat-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.subnoize', module='qcat-core', version='0.0.8')
)
libraryDependencies += "net.subnoize" % "qcat-core" % "0.0.8"
[net.subnoize/qcat-core "0.0.8"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter jar 2.4.1
org.apache.commons : commons-lang3 jar 3.11

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

Данный проект не имеет модулей.
Qcat is fat and lazy like me

Qcat is fat and lazy like mecat is a transparent, vendor agnostic messaging for Lazy Cats and Humans alike

A Spring Boot Starter that automates much of the boiler plate tasks associated with messaging based application development. The core is vendor neutral and lends itself to integration with most brokers.

Qcat grew out of fustration with more mainstream annotation based system that either were more complex than the underlying framework or not yet supporting Java 11.

Qcat is fat and lazy like mecat for SQS (qcat4sqs)

The first Provider for Qcat is for AWS SQS Java 2.x API. Simply configure a Spring Bean for the service and annotate your listeners and you are off to another cat nap instead of banging your head against bad architecture.

Maven Dependency;

<dependency>
	<groupId>net.subnoize</groupId>
	<artifactId>qcat4sqs</artifactId>
	<version>0.0.7</version>
</dependency>

Example Configuration;

package net.subnoize.examples;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import software.amazon.awssdk.services.sqs.SqsAsyncClient;

@Configuration
public class SqsConfiguration {
	
	@Bean
	public SqsAsyncClient getSqsAsyncClient() {
		return SqsAsyncClient.create();
	}
	
}

Example Usage;

package net.subnoize.examples;

import org.springframework.stereotype.Controller;

import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import net.subnoize.qcat.listen.Listen;
import net.subnoize.qcat.listen.ListenTo;
import net.subnoize.qcat.model.Payload;
import net.subnoize.qcat.send.SendTo;
import net.subnoize.qcat.sqs.Qcat4Sqs;

@Controller
@Slf4j
@NoArgsConstructor
@Listen(Qcat4Sqs.PROVIDER)
public class TestQueues {
	
	@ListenTo(value = "Test_1", transactionId = "txnid")
	@SendTo("Test_2")
	public String test1Queue(@Payload String msg) {
		log.info("Test 1: {}",msg);
		return "Hello, "+msg;
	}
	
}

*NOTE: We are working on making the line @Listen(Qcat4Sqs.PROVIDER) have a default if no provider is specified AND make that String able to pull from the Spring configuration stack so it can be a true LIB and CONFIG change with zero coding when you change brokers. The neat part is you can mix different messaging brokers in the same application.

net.subnoize

subnoize llc

Software Consultancy

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

Версия
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4