xd-regex-module

A Spring XD processor module that transforms a payload string into a Tuple using a Regular Expression, where each capture group in the regular expression is mapped to a tuple field.

Лицензия

Лицензия

Группа

Группа

com.allenru
Идентификатор

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

xd-regex-module
Последняя версия

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

0.9.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

xd-regex-module
A Spring XD processor module that transforms a payload string into a Tuple using a Regular Expression, where each capture group in the regular expression is mapped to a tuple field.
Ссылка на сайт

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

https://github.com/Russell-Allen/xd-regex-module
Система контроля версий

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

https://github.com/Russell-Allen/xd-regex-module.git

Скачать xd-regex-module

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

Spring XD Regular Expression Module

Transform a string into a Tuple using a Regular Expression.

Overview

This tiny module (single class) can be added to an XD Stream to transform a string based payload into a multi-field Tuple, where the field names and values are the regular expression capture group name/number and matching value respectively.

Download

This library is available via the maven central repository at the following coordinates:

    <groupId>com.allenru</groupId>
    <artifactId>xd-regex-module</artifactId>

Usage

Known Issues

This is alpha code. The internals work. I've run this as an XD module in the past, but I've not setup an XD server locally to test this build. I expect that this is NOT A VALID MODULE. I'm pushing this into the public domain now though, with the hope that I'll get around to wrapping this up into a proper module that others may easily import and used. After all... regex based transform seems like a core capability, and this approach is too convenient to ignore.

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

Версия
0.9.0