Skip to content

Commit

Permalink
updated integration design
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jul 16, 2024
1 parent b029f27 commit 57e163c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions docs/images/integration.mmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ classDiagram

class IngressChannel~T~
<<interface>> IngressChannel~T~
IngressChannel~T~: poll(long timeout) boolean
IngressChannel~T~: poll(Consumer~T~, long timeout) boolean
IngressChannel~T~: poll(Consumer~T~, long timeout, boolean autoExpunge) boolean
IngressChannel~T~: expunge(String uid) boolean

class EgressChannel~T, P~
<<interface>> EgressChannel~T, P~
EgressChannel~T, P~: send(Supplier~T~ supplier) boolean
class EgressChannel~T~
<<interface>> EgressChannel~T~
EgressChannel~T~: send(Supplier~T~ supplier) boolean

class ChannelPublisher~T~
ChannelPublisher~T~: submit(T item) int
Expand All @@ -27,14 +29,14 @@ classDiagram
class JakartaMailPollingChannel
JakartaMailPollingChannel: Session session

IngressChannel~T~ <|.. LocalQueueChannel~T~: Implements
EgressChannel~T, P~ <|.. LocalQueueChannel~T~: Implements
ChannelPublisher~T~ <|-- LocalQueueChannel~T~: Extends
class JakartaMailPublisher

ChannelPublisher~T~ <|-- LocalQueuePublisher~T~: Extends
IngressChannel~T~ <|.. LocalQueueChannel~T~: Implements
EgressChannel~T~ <|.. LocalQueueChannel~T~: Implements

EgressChannel~T, P~ <|.. JakartaMailSMTPChannel~P~: T->MimeMessage
ChannelPublisher~T~ <|-- JakartaMailSMTPChannel~P~: Extends
EgressChannel~T~ <|.. JakartaMailSMTPChannel~P~: T->MimeMessage

IngressChannel~T~ <|.. JakartaMailPollingChannel: T->MimeMessage
ChannelPublisher~T~ <|-- JakartaMailPollingChannel: Extends

ChannelPublisher~T~ <|-- LocalQueuePublisher~T~: Extends
ChannelPublisher~T~ <|-- JakartaMailPublisher: Extends
Loading

0 comments on commit 57e163c

Please sign in to comment.