Liking cljdoc? Tell your friends :D

eva.v2.messaging.jms.alpha.message


decode-body-and-resetclj

(decode-body-and-reset msg)
source

raise-read-errorcljmacro

(raise-read-error subtype detail-str data)
(raise-read-error subtype detail-str data cause)

Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form and expands into:

   (raise :jms.read-error/<subtype>
          (str "<subtype-generic-str>: " detail-str)
          data
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Error decoding message body"}, :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected javax.jms.BytesMessage but received"}, :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected a message but received"}, :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Unrecognized message body"}, :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :throwable?"}, :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :payload"}}

Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form and expands into:

       (raise :jms.read-error/<subtype>
              (str "<subtype-generic-str>: " detail-str)
              data
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message},
                  :generic-str "Error decoding message body"},
   :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
                         :generic-str "Expected javax.jms.BytesMessage but received"},
   :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
                   :generic-str "Expected a message but received"},
   :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                       :generic-str "Unrecognized message body"},
   :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                                 :generic-str "Message body missing :throwable?"},
   :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                                :generic-str "Message body missing :payload"}}
sourceraw docstring

raise-write-errorcljmacro

(raise-write-error subtype detail-str data)
(raise-write-error subtype detail-str data cause)

Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form and expands into:

   (raise :jms.write-error/<subtype>
          (str "<subtype-generic-str>: " detail-str)
          data
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error transcribing payload"}, :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error encoding message body"}, :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error writing message body"}}

Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form and expands into:

       (raise :jms.write-error/<subtype>
              (str "<subtype-generic-str>: " detail-str)
              data
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                      :generic-str "Error transcribing payload"},
   :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                       :generic-str "Error encoding message body"},
   :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                      :generic-str "Error writing message body"}}
sourceraw docstring

read-contentclj

(read-content msg)

Attempts to read, decode, and interpret content from the body of msg. Throws a ::read-error on failure.

Attempts to read, decode, and interpret content from the body of msg.
Throws a ::read-error on failure.
sourceraw docstring

read-errorcljmacro

(read-error subtype detail-str data)
(read-error subtype detail-str data cause)

Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:

   (error (str "<subtype-generic-str>: " detail-str)
          :jms.read-error/<subtype>
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Error decoding message body"}, :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected javax.jms.BytesMessage but received"}, :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message}, :generic-str "Expected a message but received"}, :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Unrecognized message body"}, :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :throwable?"}, :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message}, :generic-str "Message body missing :payload"}}

Records this raise-site under :jms.read-error/<subtype> in eva.error/eva-error-form, and expands into the
          equivalent of:

       (error (str "<subtype-generic-str>: " detail-str)
              :jms.read-error/<subtype>
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:decode-error {:required #{:eva.v2.messaging.jms.alpha.message/message},
                  :generic-str "Error decoding message body"},
   :unsupported-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
                         :generic-str "Expected javax.jms.BytesMessage but received"},
   :not-a-message {:required #{:eva.v2.messaging.jms.alpha.message/message},
                   :generic-str "Expected a message but received"},
   :unrecognized-body {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                       :generic-str "Unrecognized message body"},
   :body-missing-throwable-flag {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                                 :generic-str "Message body missing :throwable?"},
   :body-missing-payload-field {:required #{:eva.v2.messaging.jms.alpha.message/decoded-body :eva.v2.messaging.jms.alpha.message/message},
                                :generic-str "Message body missing :payload"}}
sourceraw docstring

write-content!clj

(write-content! msg content)

Attempts to write content into the body of msg in encoded form. Throws a ::write-error on failure.

Attempts to write content into the body of msg in encoded form.
Throws a ::write-error on failure.
sourceraw docstring

write-errorcljmacro

(write-error subtype detail-str data)
(write-error subtype detail-str data cause)

Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:

   (error (str "<subtype-generic-str>: " detail-str)
          :jms.write-error/<subtype>
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error transcribing payload"}, :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error encoding message body"}, :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload}, :generic-str "Error writing message body"}}

Records this raise-site under :jms.write-error/<subtype> in eva.error/eva-error-form, and expands into the
          equivalent of:

       (error (str "<subtype-generic-str>: " detail-str)
              :jms.write-error/<subtype>
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:transcribe-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                      :generic-str "Error transcribing payload"},
   :encode-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                       :generic-str "Error encoding message body"},
   :write-body-error {:required #{:eva.v2.messaging.jms.alpha.message/payload},
                      :generic-str "Error writing message body"}}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close