public class AmqpTarget
extends BaseTarget
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
public static au.com.dius.pact.provider.junit.target.AmqpTarget.Companion Companion
@JvmOverloads
public AmqpTarget(@NotNull
java.util.List<java.lang.String> packagesToScan,
@NotNull
java.lang.ClassLoader classLoader)
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
packagesToScan - List of JVM packages@JvmOverloads
public AmqpTarget(@NotNull
java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
packagesToScan - List of JVM packages@JvmOverloads public AmqpTarget()
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
public void testInteraction(@NotNull
java.lang.String consumerName,
@NotNull
au.com.dius.pact.model.Interaction interaction,
@NotNull
au.com.dius.pact.model.PactSource source,
@NotNull
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
@NotNull
protected au.com.dius.pact.provider.IProviderVerifier setupVerifier(@NotNull
au.com.dius.pact.model.Interaction interaction,
@NotNull
au.com.dius.pact.provider.ProviderInfo provider,
@NotNull
au.com.dius.pact.provider.ConsumerInfo consumer)
@NotNull
protected au.com.dius.pact.provider.ProviderInfo getProviderInfo(@NotNull
au.com.dius.pact.model.PactSource source)
@NotNull public java.util.List<java.lang.String> getPackagesToScan()
List of JVM packages
@NotNull public java.lang.ClassLoader getClassLoader()